Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.00215/0.00215, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.74/2.74, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 71.89 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.00401/1.092, allocations: 1.815 MB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002917/1.095, allocations: 1.593 MB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/1.095, allocations: 7.938 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/1.095, allocations: 27.78 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/1.095, allocations: 15.81 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/1.096, allocations: 247.2 kB / 1.23 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000393/1.097, allocations: 243.5 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/1.097, allocations: 69.5 kB / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/1.097, allocations: 95.73 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/1.097, allocations: 87.61 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/1.097, allocations: 12 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/1.098, allocations: 215.6 kB / 1.231 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/1.098, allocations: 79.8 kB / 1.231 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/1.098, allocations: 91.52 kB / 1.231 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006588/1.099, allocations: 387.2 kB / 1.231 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.099, allocations: 0 / 1.231 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.753e-06/1.099, allocations: 0 / 1.231 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.099, allocations: 4 kB / 1.231 GB, free: 8.559 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001057/1.1, allocations: 0.5682 MB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.1, allocations: 11.97 kB / 1.232 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/1.1, allocations: 28.8 kB / 1.232 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/1.1, allocations: 256.8 kB / 1.232 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.1, allocations: 16.38 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/1.1, allocations: 39.92 kB / 1.232 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/1.101, allocations: 205.3 kB / 1.232 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.101, allocations: 0 / 1.232 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/1.101, allocations: 4 kB / 1.232 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.101, allocations: 4 kB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/1.101, allocations: 115.9 kB / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/1.103, allocations: 0.5937 MB / 1.233 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/1.103, allocations: 202.5 kB / 1.233 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/1.103, allocations: 98.12 kB / 1.233 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.103, allocations: 4 kB / 1.233 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/1.103, allocations: 176 kB / 1.233 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/1.103, allocations: 0 / 1.233 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0007562/1.104, allocations: 404.2 kB / 1.234 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.104, allocations: 63.39 kB / 1.234 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/1.105, allocations: 182.6 kB / 1.234 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/1.105, allocations: 57.69 kB / 1.234 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.105, allocations: 121.1 kB / 1.234 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/1.105, allocations: 91.3 kB / 1.234 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.105, allocations: 78.14 kB / 1.234 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.105, allocations: 346.7 kB / 1.235 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.105, allocations: 112.8 kB / 1.235 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/1.106, allocations: 257.4 kB / 1.235 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/1.106, allocations: 372 kB / 1.235 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.106, allocations: 0 / 1.235 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006931/1.107, allocations: 420.9 kB / 1.236 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.107, allocations: 8.406 kB / 1.236 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.107, allocations: 8 kB / 1.236 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.107, allocations: 8 kB / 1.236 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.107, allocations: 63.91 kB / 1.236 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/1.107, allocations: 11.88 kB / 1.236 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/1.107, allocations: 27.84 kB / 1.236 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/1.107, allocations: 20 kB / 1.236 GB, free: 3.316 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001987/1.108, allocations: 188.2 kB / 1.236 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/1.108, allocations: 19.86 kB / 1.236 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/1.108, allocations: 26.48 kB / 1.236 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.108, allocations: 0 / 1.236 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.108, allocations: 0 / 1.236 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/1.108, allocations: 96.95 kB / 1.236 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/1.108, allocations: 15.98 kB / 1.236 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/1.108, allocations: 15.98 kB / 1.236 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/1.108, allocations: 23.91 kB / 1.236 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006106/1.109, allocations: 404.7 kB / 1.237 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008889/1.11, allocations: 0.6054 MB / 1.237 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001826/1.11, allocations: 107.3 kB / 1.237 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001082/1.11, allocations: 140.3 kB / 1.238 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of Backend: time 6.01e-07/1.11, allocations: 0 / 1.238 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.111, allocations: 498.2 kB / 1.238 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000943/1.112, allocations: 0.8671 MB / 1.239 GB, free: 304 kB / 0.9512 GB Notification: Performance of Templates: time 0.00847/1.121, allocations: 3.534 MB / 1.242 GB, free: 12.77 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches