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.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 196 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.627/2.627, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6664, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003124/0.6696, allocations: 1.77 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.6719, allocations: 1.6 MB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.672, allocations: 7.938 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.6722, allocations: 27.78 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.6724, allocations: 19.8 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.673, allocations: 240.4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.6733, allocations: 243.5 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.6734, allocations: 57.89 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.6736, allocations: 91.69 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.6737, allocations: 79.67 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.6738, allocations: 12 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.6741, allocations: 191.7 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.6742, allocations: 79.8 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.6743, allocations: 95.52 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.6747, allocations: 377 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6747, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6748, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6748, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 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.0009762/0.6757, allocations: 0.5691 MB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6758, allocations: 11.97 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.6759, allocations: 28.66 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.6761, allocations: 242.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.6761, allocations: 24.69 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.6762, allocations: 23.94 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.6766, allocations: 200.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6766, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.6766, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.6766, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.6769, allocations: 116.2 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.6781, allocations: 0.5898 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/0.679, allocations: 274.5 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.6791, allocations: 100.7 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.6792, allocations: 12.02 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.6795, allocations: 167.3 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.6795, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.000659/0.6802, allocations: 375.2 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.6802, allocations: 71.39 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.6804, allocations: 178.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.6804, allocations: 45.64 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.6805, allocations: 128.7 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.6806, allocations: 82.98 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.6807, allocations: 78.12 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6808, allocations: 342.8 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.681, allocations: 112.8 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.6813, allocations: 244.6 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.6817, allocations: 363.9 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6818, allocations: 7.938 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006035/0.6824, allocations: 416.8 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6824, allocations: 4 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6824, allocations: 7.984 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6824, allocations: 8.469 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.6826, allocations: 59.86 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.6826, allocations: 15.92 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.6828, allocations: 43.67 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.6829, allocations: 16 kB / 1.027 GB, free: 8.379 MB / 0.7794 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.000166/0.683, allocations: 184.2 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.6831, allocations: 19.72 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.6831, allocations: 21.86 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6831, allocations: 4 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6831, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6831, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.6841, allocations: 0.683 MB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6841, allocations: 4 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.6842, allocations: 15.98 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6842, allocations: 0 / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.6842, allocations: 7.984 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6842, allocations: 7.938 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6842, allocations: 0 / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006985/0.685, allocations: 0.5049 MB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.685, allocations: 100.8 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.6851, allocations: 16.03 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6853, allocations: 23.97 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.6853, allocations: 15.98 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.6854, allocations: 11.98 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001006/0.6855, allocations: 136.4 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6855, allocations: 3.938 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000431/0.6859, allocations: 111.9 kB / 1.029 GB, free: 6.426 MB / 0.7794 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.0006572/0.6866, allocations: 331.3 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.6871, allocations: 319.7 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6871, allocations: 4.938 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.6873, allocations: 98.08 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.6876, allocations: 36.09 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.6885, allocations: 488.4 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.6888, allocations: 0.7402 MB / 1.031 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.6889, allocations: 58.23 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.6889, allocations: 23.44 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6889, allocations: 0 / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of Templates: time 0.006437/0.6954, allocations: 3.223 MB / 1.034 GB, free: 1.145 MB / 0.7794 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