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.005249/0.005249, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001257/0.001257, allocations: 198.6 kB / 16.68 MB, free: 5.98 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.43/2.43, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 58.59 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3216, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002895/0.3245, allocations: 1.768 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3267, allocations: 1.592 MB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.3268, allocations: 11.94 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.327, allocations: 27.78 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3271, allocations: 23.8 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.3277, allocations: 239.2 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.328, allocations: 247.5 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3282, allocations: 61.89 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3283, allocations: 91.73 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3284, allocations: 79.67 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.3285, allocations: 12 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.3288, allocations: 219.6 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.892e-05/0.3289, allocations: 75.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.329, allocations: 87.53 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.3295, allocations: 382.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3295, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3295, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3295, allocations: 4 kB / 1.093 GB, free: 12.58 MB / 0.8575 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.0009089/0.3304, allocations: 0.5725 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3304, allocations: 8.031 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.3305, allocations: 24.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3308, allocations: 248 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3308, allocations: 16.7 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.3309, allocations: 35.92 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.3312, allocations: 204 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3313, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3313, allocations: 4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3313, allocations: 8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.3315, allocations: 116.5 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3327, allocations: 0.5861 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.3335, allocations: 276.6 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3337, allocations: 112.7 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3337, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.334, allocations: 160 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.3341, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.000658/0.3347, allocations: 390 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3348, allocations: 71.38 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3349, allocations: 186.6 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.335, allocations: 53.69 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3351, allocations: 132.5 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.3351, allocations: 75.42 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/0.3352, allocations: 74.14 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3354, allocations: 338.8 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3356, allocations: 116.8 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3358, allocations: 252.5 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.3363, allocations: 364 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3363, allocations: 0 / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005891/0.3369, allocations: 421.3 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3369, allocations: 8 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3369, allocations: 7.938 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.337, allocations: 4 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3372, allocations: 67.84 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.3372, allocations: 7.984 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3373, allocations: 39.77 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.3374, allocations: 20.19 kB / 1.097 GB, free: 7.332 MB / 0.8575 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.0001857/0.3376, allocations: 188.2 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.3376, allocations: 15.91 kB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.3377, allocations: 25.86 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3377, allocations: 4 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3377, allocations: 0 / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3377, allocations: 4 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/0.3386, allocations: 0.682 MB / 1.098 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3387, allocations: 0 / 1.098 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.3388, allocations: 19.98 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3388, allocations: 0 / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3388, allocations: 12.08 kB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3388, allocations: 3.938 kB / 1.098 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3388, allocations: 0 / 1.098 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.3395, allocations: 0.5156 MB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.3396, allocations: 101 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.3396, allocations: 16.03 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3398, allocations: 15.97 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.3399, allocations: 19.92 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.3399, allocations: 23.98 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.34, allocations: 120.3 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 0 / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004398/0.3405, allocations: 115.6 kB / 1.099 GB, free: 5.367 MB / 0.8575 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.000665/0.3411, allocations: 330.7 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.3416, allocations: 272.5 kB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3416, allocations: 8.062 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.3418, allocations: 103.9 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3421, allocations: 22.48 kB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/0.3429, allocations: 0.4889 MB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3432, allocations: 0.7518 MB / 1.101 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.3434, allocations: 46.25 kB / 1.101 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.3434, allocations: 19.44 kB / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3434, allocations: 0 / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of Templates: time 0.006263/0.3497, allocations: 3.26 MB / 1.104 GB, free: 92 kB / 0.8575 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