Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001553/0.001553, 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.002029/0.002029, allocations: 190.5 kB / 16.25 MB, free: 6.645 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.395/1.395, 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 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.62 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.004088/0.3013, allocations: 1.869 MB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.3039, allocations: 1.58 MB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.304, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.3042, allocations: 27.78 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.3044, allocations: 11.92 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.3052, allocations: 211.5 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.3056, allocations: 255.4 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3057, allocations: 53.55 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.3059, allocations: 95.73 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.3061, allocations: 83.61 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.3062, allocations: 16 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.3066, allocations: 191.7 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3068, allocations: 87.78 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3069, allocations: 83.55 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.3074, allocations: 387.2 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3075, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.267e-06/0.3075, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3075, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001004/0.3085, allocations: 0.5572 MB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3085, allocations: 8.625 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.3086, allocations: 28.66 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.309, allocations: 253.5 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.309, allocations: 20.36 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.3091, allocations: 31.94 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.3095, allocations: 205.3 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3095, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.3095, allocations: 11.98 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3096, allocations: 4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.3098, allocations: 119.6 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.3111, allocations: 0.582 MB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.3115, allocations: 214.3 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3116, allocations: 96.81 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3117, allocations: 7.984 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.312, allocations: 172.4 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.933e-06/0.312, allocations: 0 / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0006989/0.3128, allocations: 397.2 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3128, allocations: 71.38 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.313, allocations: 182.6 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.313, allocations: 49.7 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3131, allocations: 125 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.3132, allocations: 83 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.3133, allocations: 78.12 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3134, allocations: 338.8 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3136, allocations: 120.8 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.3139, allocations: 257.4 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.3144, allocations: 371.9 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3144, allocations: 3.938 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006544/0.3151, allocations: 421 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3151, allocations: 4 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3151, allocations: 8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3151, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.3154, allocations: 67.84 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3154, allocations: 4 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3155, allocations: 35.86 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3156, allocations: 24 kB / 1.062 GB, free: 14.62 MB / 0.8262 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,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001735/0.3157, allocations: 188.4 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.3158, allocations: 15.81 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3158, allocations: 22.55 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3159, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3159, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3159, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.3168, allocations: 0.6894 MB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3168, allocations: 0 / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.317, allocations: 16 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.317, allocations: 4 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.317, allocations: 7.984 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.317, allocations: 3.984 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.317, allocations: 0 / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.3177, allocations: 0.5196 MB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.3178, allocations: 96.86 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.3179, allocations: 20.02 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.318, allocations: 11.94 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3181, allocations: 19.97 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3181, allocations: 11.98 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001019/0.3182, allocations: 148.2 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004526/0.3187, allocations: 103.9 kB / 1.064 GB, free: 12.64 MB / 0.8262 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 (26): * Single equations (assignments): 12 * 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.000685/0.3194, allocations: 335.6 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005687/0.3199, allocations: 324.3 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.32, allocations: 192 / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3202, allocations: 108.5 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3205, allocations: 23.97 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3215, allocations: 0.558 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.322, allocations: 0.7595 MB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.3221, allocations: 46.25 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3222, allocations: 23.44 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3222, allocations: 0 / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.007435/0.3296, allocations: 3.227 MB / 1.069 GB, free: 7.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches