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.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001451/0.001451, allocations: 196.2 kB / 16.14 MB, free: 6.652 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.435/2.435, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.05 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8013, allocations: 140.4 MB / 0.9489 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003935/0.8053, allocations: 1.838 MB / 0.9507 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.8077, allocations: 1.593 MB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.8078, allocations: 1.219 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.808, allocations: 18.64 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.8082, allocations: 14.14 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.8088, allocations: 202.3 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.8091, allocations: 220.6 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.8093, allocations: 55.78 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.8095, allocations: 83.22 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.8096, allocations: 81.89 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.8097, allocations: 12.06 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.8102, allocations: 187.3 kB / 0.9531 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.8103, allocations: 73.45 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.8104, allocations: 84.25 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.8109, allocations: 375 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.811, allocations: 1.094 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.811, allocations: 0 / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.811, allocations: 0 / 0.9536 GB, free: 5.855 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.001048/0.812, allocations: 0.5667 MB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.8121, allocations: 10.09 kB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.8122, allocations: 20.78 kB / 0.9542 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.8124, allocations: 250 kB / 0.9544 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.8125, allocations: 26.66 kB / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.8125, allocations: 24.69 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.813, allocations: 205 kB / 0.9547 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.813, allocations: 0 / 0.9547 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.813, allocations: 6.844 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.813, allocations: 3.969 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.8133, allocations: 118.8 kB / 0.9548 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.8149, allocations: 0.5872 MB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.8158, allocations: 278.3 kB / 0.9556 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.816, allocations: 105.2 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.8161, allocations: 1.969 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.8165, allocations: 166.5 kB / 0.9559 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.8165, allocations: 1.719 kB / 0.9559 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007666/0.8173, allocations: 380.4 kB / 0.9563 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.8174, allocations: 72.95 kB / 0.9563 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.8175, allocations: 182.8 kB / 0.9565 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.8176, allocations: 47.31 kB / 0.9565 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.8177, allocations: 120.9 kB / 0.9567 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.8177, allocations: 80.73 kB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.8178, allocations: 79.03 kB / 0.9568 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.8179, allocations: 337.5 kB / 0.9571 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.8182, allocations: 117.5 kB / 0.9572 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.8184, allocations: 244.9 kB / 0.9575 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.8189, allocations: 371.9 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8189, allocations: 2 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006923/0.8196, allocations: 416.6 kB / 0.9582 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.8197, allocations: 6.5 kB / 0.9582 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8197, allocations: 4.344 kB / 0.9582 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.8197, allocations: 10.47 kB / 0.9583 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.82, allocations: 60.97 kB / 0.9583 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.82, allocations: 10.47 kB / 0.9583 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.8202, allocations: 42.7 kB / 0.9584 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.8202, allocations: 17.53 kB / 0.9584 GB, free: 2.246 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.0002009/0.8204, allocations: 188.5 kB / 0.9586 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.8205, allocations: 21.33 kB / 0.9586 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.8205, allocations: 17.75 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8205, allocations: 2.156 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8206, allocations: 5.094 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.8206, allocations: 3.984 kB / 0.9586 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.8216, allocations: 0.6848 MB / 0.9593 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8216, allocations: 1.344 kB / 0.9593 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.8217, allocations: 17.31 kB / 0.9593 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8217, allocations: 0 / 0.9593 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.8218, allocations: 12.02 kB / 0.9593 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8218, allocations: 1.438 kB / 0.9593 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8218, allocations: 5.141 kB / 0.9593 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.8225, allocations: 0.5064 MB / 0.9598 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.8225, allocations: 93.64 kB / 0.9599 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.8226, allocations: 20.12 kB / 0.9599 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8228, allocations: 17.16 kB / 0.9599 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.8228, allocations: 29.81 kB / 0.96 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.8229, allocations: 9.219 kB / 0.96 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.823, allocations: 129 kB / 0.9601 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.823, allocations: 1.094 kB / 0.9601 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005449/0.8235, allocations: 114.5 kB / 0.9602 GB, free: 0.9492 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.0007445/0.8243, allocations: 321.9 kB / 0.9605 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.8248, allocations: 276 kB / 0.9608 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8248, allocations: 0 / 0.9608 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.825, allocations: 110.6 kB / 0.9609 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.8254, allocations: 22.69 kB / 0.9609 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.8263, allocations: 0.5389 MB / 0.9614 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.8266, allocations: 0.7481 MB / 0.9622 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.8268, allocations: 55.89 kB / 0.9622 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.8268, allocations: 23.66 kB / 0.9622 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.8268, allocations: 3.938 kB / 0.9622 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.008014/0.8349, allocations: 3.108 MB / 0.9653 GB, free: 13.89 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