Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.005501/0.005501, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.00122/0.00122, allocations: 204.8 kB / 16.68 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3422, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003247/0.3455, allocations: 1.766 MB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.348, allocations: 1.611 MB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.3481, allocations: 3.938 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.3483, allocations: 27.78 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3485, allocations: 19.8 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.3492, allocations: 239.3 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.3496, allocations: 247.5 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3497, allocations: 53.91 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.3499, allocations: 91.67 kB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.35, allocations: 75.73 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.3501, allocations: 12 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.3505, allocations: 223.7 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3506, allocations: 79.8 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.3507, allocations: 95.41 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.3512, allocations: 378.6 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3512, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3512, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3512, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00104/0.3523, allocations: 0.5763 MB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3523, allocations: 12.03 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.3524, allocations: 28.78 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.3527, allocations: 246 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3527, allocations: 12.7 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.3528, allocations: 35.92 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.3532, allocations: 200.2 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3532, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3532, allocations: 8 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3532, allocations: 7.938 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.3535, allocations: 120.5 kB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3548, allocations: 0.5822 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.3557, allocations: 278.5 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3558, allocations: 96.73 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3559, allocations: 4 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.3562, allocations: 167.5 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3562, allocations: 0 / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007171/0.357, allocations: 387.8 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.357, allocations: 79.23 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3572, allocations: 178.3 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3573, allocations: 45.69 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.3573, allocations: 124.7 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.3574, allocations: 79.44 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.3575, allocations: 82.12 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3577, allocations: 338.8 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3579, allocations: 112.8 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.3582, allocations: 248.5 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.3586, allocations: 363.9 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3586, allocations: 8 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006198/0.3593, allocations: 412.9 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3593, allocations: 8 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3593, allocations: 4 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3593, allocations: 8 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.3595, allocations: 56.47 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3596, allocations: 19.88 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3598, allocations: 47.75 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.3598, allocations: 16 kB / 1.176 GB, free: 12.67 MB / 0.9356 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001769/0.36, allocations: 181.3 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.36, allocations: 23.86 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.3601, allocations: 25.84 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3601, allocations: 7.938 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3601, allocations: 0 / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3601, allocations: 0 / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.3611, allocations: 0.6752 MB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3611, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3613, allocations: 27.92 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3613, allocations: 0 / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3613, allocations: 7.984 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3613, allocations: 4 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3613, allocations: 0 / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.3621, allocations: 0.5115 MB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.3621, allocations: 89.02 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.3622, allocations: 15.98 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3624, allocations: 28.11 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3624, allocations: 23.97 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.3625, allocations: 11.98 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00012/0.3626, allocations: 139.2 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004989/0.3631, allocations: 115.6 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007256/0.3639, allocations: 336.6 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.3644, allocations: 275.5 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3644, allocations: 0 / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3646, allocations: 99.89 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3649, allocations: 32.22 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.3658, allocations: 497.6 kB / 1.179 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3661, allocations: 0.7441 MB / 1.18 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000126/0.3663, allocations: 54.25 kB / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3663, allocations: 19.44 kB / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3663, allocations: 0 / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.006898/0.3732, allocations: 3.26 MB / 1.183 GB, free: 5.426 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches