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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.4 MB / 0.7304 GB, free: 14 MB / 0.5762 GB " [Timeout remaining time 177] 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=3361,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=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.84 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003747/0.3359, allocations: 1.807 MB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3386, allocations: 1.682 MB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.3386, allocations: 3.938 kB / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3388, allocations: 27.78 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.339, allocations: 15.81 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.3397, allocations: 243.2 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.34, allocations: 235.6 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.3402, allocations: 45.83 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3404, allocations: 91.69 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3405, allocations: 87.66 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3405, allocations: 12 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.341, allocations: 223.5 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3411, allocations: 83.78 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.735e-05/0.3412, allocations: 87.53 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.3417, allocations: 382.6 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3417, allocations: 0 / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.737e-06/0.3417, allocations: 3.984 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.3417, allocations: 0 / 1.221 GB, free: 10.34 MB / 0.9669 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.001079/0.3428, allocations: 0.5725 MB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3428, allocations: 12.03 kB / 1.222 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/0.3429, allocations: 28.8 kB / 1.222 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.3432, allocations: 246.8 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3432, allocations: 16.69 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.3433, allocations: 27.94 kB / 1.222 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.3437, allocations: 208.1 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3437, allocations: 0 / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3437, allocations: 4 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3437, allocations: 7.984 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.344, allocations: 116.5 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.3454, allocations: 0.586 MB / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/0.3462, allocations: 262.4 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.3464, allocations: 84.75 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3464, allocations: 7.984 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.3468, allocations: 171.5 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.053e-06/0.3468, allocations: 0 / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0007696/0.3476, allocations: 387 kB / 1.224 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.3476, allocations: 71.39 kB / 1.224 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3478, allocations: 182.2 kB / 1.224 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.3479, allocations: 49.69 kB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.348, allocations: 116.7 kB / 1.224 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.348, allocations: 87.41 kB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3482, allocations: 78.12 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3483, allocations: 338.8 kB / 1.224 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3486, allocations: 112.8 kB / 1.225 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.3489, allocations: 248.5 kB / 1.225 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.3494, allocations: 375.9 kB / 1.225 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3494, allocations: 4 kB / 1.225 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000661/0.3501, allocations: 412.9 kB / 1.226 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3501, allocations: 4 kB / 1.226 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3501, allocations: 8.469 kB / 1.226 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3501, allocations: 8 kB / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.3503, allocations: 59.84 kB / 1.226 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3503, allocations: 11.94 kB / 1.226 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3505, allocations: 43.77 kB / 1.226 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.3505, allocations: 16 kB / 1.226 GB, free: 5.113 MB / 0.9669 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.000206/0.3507, allocations: 184.7 kB / 1.226 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.3508, allocations: 31.84 kB / 1.226 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3508, allocations: 17.88 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3508, allocations: 0 / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3508, allocations: 0 / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3508, allocations: 7.984 kB / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3519, allocations: 0.676 MB / 1.227 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3519, allocations: 0 / 1.227 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.352, allocations: 16 kB / 1.227 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.352, allocations: 4 kB / 1.227 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.352, allocations: 7.984 kB / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.352, allocations: 0 / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.352, allocations: 3.984 kB / 1.227 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.3528, allocations: 0.5147 MB / 1.227 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.3529, allocations: 97.03 kB / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.353, allocations: 16.22 kB / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3531, allocations: 27.97 kB / 1.227 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.3532, allocations: 19.97 kB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.3532, allocations: 8 kB / 1.227 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001103/0.3533, allocations: 136.3 kB / 1.227 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3533, allocations: 4 kB / 1.227 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004817/0.3538, allocations: 115.6 kB / 1.228 GB, free: 3.141 MB / 0.9669 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.0008257/0.3546, allocations: 325.2 kB / 1.228 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.3551, allocations: 263.6 kB / 1.228 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3551, allocations: 0.9375 kB / 1.228 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3553, allocations: 91.89 kB / 1.228 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3557, allocations: 34.55 kB / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.3566, allocations: 495.6 kB / 1.229 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.357, allocations: 0.7441 MB / 1.229 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.3571, allocations: 62.41 kB / 1.23 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.3572, allocations: 19.44 kB / 1.23 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/0.3572, allocations: 7.875 kB / 1.23 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of Templates: time 0.007471/0.3646, allocations: 3.311 MB / 1.233 GB, free: 13.83 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.134071050211787]