Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 113.7 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 186.6 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 241.1 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.89 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002142/1.037, allocations: 0.8803 MB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001242/1.038, allocations: 0.8935 MB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/1.038, allocations: 3.938 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/1.038, allocations: 7.875 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/1.038, allocations: 11.88 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/1.038, allocations: 71.83 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/1.039, allocations: 131.8 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/1.039, allocations: 64.08 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/1.039, allocations: 51.78 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/1.039, allocations: 59.75 kB / 1.229 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/1.039, allocations: 16 kB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/1.039, allocations: 23.88 kB / 1.229 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/1.039, allocations: 27.92 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/1.039, allocations: 55.66 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/1.039, allocations: 144 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.039, allocations: 0 / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/1.039, allocations: 7.875 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.039, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006399/1.04, allocations: 449.1 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.04, allocations: 8.031 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/1.04, allocations: 16.84 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/1.04, allocations: 224 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.04, allocations: 16.38 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/1.041, allocations: 12.38 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/1.041, allocations: 150.2 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.041, allocations: 4.125 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/1.041, allocations: 7.938 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.041, allocations: 4 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/1.041, allocations: 127.9 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/1.042, allocations: 0.4885 MB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/1.042, allocations: 82.48 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/1.042, allocations: 48.95 kB / 1.23 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/1.042, allocations: 7.984 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/1.043, allocations: 30.56 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/1.043, allocations: 4 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004602/1.043, allocations: 153.5 kB / 1.231 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.043, allocations: 55.41 kB / 1.231 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/1.043, allocations: 200 kB / 1.231 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/1.043, allocations: 25.7 kB / 1.231 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.043, allocations: 116 kB / 1.231 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/1.044, allocations: 35.69 kB / 1.231 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/1.044, allocations: 29.72 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.044, allocations: 322.8 kB / 1.231 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.044, allocations: 39.98 kB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.044, allocations: 43.97 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/1.044, allocations: 96 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.044, allocations: 4.375 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004105/1.045, allocations: 153.5 kB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.045, allocations: 5.094 kB / 1.232 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.045, allocations: 3.938 kB / 1.232 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.045, allocations: 3.938 kB / 1.232 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/1.045, allocations: 23.98 kB / 1.232 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.045, allocations: 0 / 1.232 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.045, allocations: 27.83 kB / 1.232 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.045, allocations: 8 kB / 1.232 GB, free: 7.848 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.045, allocations: 117.8 kB / 1.232 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/1.045, allocations: 15.89 kB / 1.232 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/1.046, allocations: 142.9 kB / 1.232 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.046, allocations: 0 / 1.232 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.046, allocations: 0 / 1.232 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/1.046, allocations: 92.98 kB / 1.232 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/1.046, allocations: 8 kB / 1.232 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.046, allocations: 11.98 kB / 1.232 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/1.046, allocations: 7.984 kB / 1.232 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003352/1.046, allocations: 208.8 kB / 1.232 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003469/1.047, allocations: 302.6 kB / 1.233 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001196/1.047, allocations: 39.97 kB / 1.233 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001193/1.047, allocations: 145.5 kB / 1.233 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of Backend: time 7.41e-07/1.047, allocations: 0 / 1.233 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005175/1.048, allocations: 146.2 kB / 1.233 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008443/1.048, allocations: 0.6714 MB / 1.234 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of Templates: time 0.004208/1.053, allocations: 1.509 MB / 1.235 GB, free: 4.344 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches