Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001463/0.001463, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001464/0.001464, allocations: 194 kB / 16.25 MB, free: 6.637 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 55.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7894, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003198/0.7927, allocations: 1.825 MB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.7947, allocations: 1.574 MB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.7948, allocations: 5.375 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.795, allocations: 26.47 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.7952, allocations: 18.33 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.7958, allocations: 203.6 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.7961, allocations: 241.7 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.7962, allocations: 61.62 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.7964, allocations: 92.61 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.7965, allocations: 87.36 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.7966, allocations: 12.91 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.7969, allocations: 188.4 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.797, allocations: 83.05 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.7971, allocations: 91.64 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.7975, allocations: 373.2 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7975, allocations: 0 / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7975, allocations: 1.344 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.7975, allocations: 0 / 0.9538 GB, free: 5.578 MB / 0.7169 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.0008857/0.7984, allocations: 0.5665 MB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.7985, allocations: 13.38 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.7985, allocations: 20.75 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.7988, allocations: 251.5 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.7988, allocations: 17.83 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.7989, allocations: 28.64 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.7992, allocations: 205.2 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7992, allocations: 3.984 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.7992, allocations: 5.5 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.7993, allocations: 4.125 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.7995, allocations: 115.4 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.8007, allocations: 0.5997 MB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.8015, allocations: 276.8 kB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.8017, allocations: 102.7 kB / 0.956 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.8018, allocations: 2.594 kB / 0.956 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.8021, allocations: 172.7 kB / 0.9561 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.8022, allocations: 1.281 kB / 0.9561 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006976/0.8029, allocations: 384.3 kB / 0.9565 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.8029, allocations: 62.12 kB / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.8031, allocations: 185.2 kB / 0.9567 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.8031, allocations: 44.17 kB / 0.9568 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.8032, allocations: 124.9 kB / 0.9569 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.8032, allocations: 80.73 kB / 0.957 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.8033, allocations: 75.14 kB / 0.957 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.8034, allocations: 341.7 kB / 0.9574 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.8036, allocations: 118.7 kB / 0.9575 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.8039, allocations: 249.5 kB / 0.9577 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.8043, allocations: 361.7 kB / 0.9581 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8043, allocations: 1.312 kB / 0.9581 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005763/0.8049, allocations: 415.6 kB / 0.9585 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8049, allocations: 10.88 kB / 0.9585 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.8049, allocations: 4.344 kB / 0.9585 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.805, allocations: 10.14 kB / 0.9585 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.8052, allocations: 60.86 kB / 0.9585 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.8052, allocations: 10.17 kB / 0.9586 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.8054, allocations: 43.05 kB / 0.9586 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.8054, allocations: 21.97 kB / 0.9586 GB, free: 1.957 MB / 0.7169 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.0001774/0.8056, allocations: 184.5 kB / 0.9588 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.8056, allocations: 16.81 kB / 0.9588 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.8057, allocations: 22.45 kB / 0.9588 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8057, allocations: 6.906 kB / 0.9588 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8057, allocations: 0 / 0.9588 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8057, allocations: 0 / 0.9588 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009119/0.8067, allocations: 0.681 MB / 0.9595 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8067, allocations: 4 kB / 0.9595 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8068, allocations: 17.11 kB / 0.9595 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.8068, allocations: 5.234 kB / 0.9595 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.8068, allocations: 11.92 kB / 0.9595 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.8068, allocations: 5.312 kB / 0.9595 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8068, allocations: 0 / 0.9595 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.8075, allocations: 0.5082 MB / 0.96 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.8076, allocations: 94.08 kB / 0.9601 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.8077, allocations: 20.06 kB / 0.9602 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.8078, allocations: 21.31 kB / 0.9602 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.8079, allocations: 21.17 kB / 0.9602 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.8079, allocations: 16.89 kB / 0.9602 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.894e-05/0.808, allocations: 126.4 kB / 0.9603 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.808, allocations: 0 / 0.9603 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005232/0.8086, allocations: 111.5 kB / 0.9604 GB, free: 0.668 MB / 0.7169 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.0007375/0.8093, allocations: 324.3 kB / 0.9607 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.8099, allocations: 315.7 kB / 0.961 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8099, allocations: 0 / 0.961 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.8101, allocations: 106.8 kB / 0.9611 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.8104, allocations: 26.86 kB / 0.9612 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.8113, allocations: 0.5454 MB / 0.9617 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.8117, allocations: 0.7551 MB / 0.9624 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.8118, allocations: 52.44 kB / 0.9625 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.8119, allocations: 23.42 kB / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8119, allocations: 0 / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.007216/0.8191, allocations: 3.2 MB / 0.9656 GB, free: 13.55 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches