Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.808/2.808, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.068e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003873/0.003903, allocations: 1.807 MB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00341/0.007314, allocations: 1.726 MB / 0.9849 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.00744, allocations: 3.938 kB / 0.9849 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.007659, allocations: 27.73 kB / 0.9849 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.007817, allocations: 23.73 kB / 0.9849 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.008824, allocations: 267 kB / 0.9852 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.00924, allocations: 251.5 kB / 0.9854 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.009402, allocations: 49.58 kB / 0.9854 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.009747, allocations: 123.8 kB / 0.9856 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.009924, allocations: 75.77 kB / 0.9856 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.009968, allocations: 15.94 kB / 0.9857 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.01047, allocations: 235.5 kB / 0.9859 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.0106, allocations: 79.72 kB / 0.986 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.01072, allocations: 67.81 kB / 0.986 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.01151, allocations: 418.8 kB / 0.9864 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.01151, allocations: 11.98 kB / 0.9864 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01152, allocations: 0 / 0.9864 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.01152, allocations: 0 / 0.9864 GB, free: 6.766 MB / 0.9356 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.00103/0.01256, allocations: 492.7 kB / 0.9869 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.0126, allocations: 8.031 kB / 0.9869 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.0128, allocations: 36.78 kB / 0.9869 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.01325, allocations: 206.2 kB / 0.9871 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.01328, allocations: 24.38 kB / 0.9872 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.01334, allocations: 24.38 kB / 0.9872 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.01378, allocations: 221.3 kB / 0.9874 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01379, allocations: 0 / 0.9874 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.01382, allocations: 8 kB / 0.9874 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.01383, allocations: 4 kB / 0.9874 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.0141, allocations: 111.9 kB / 0.9875 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.01547, allocations: 491.8 kB / 0.988 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.01588, allocations: 186.5 kB / 0.9882 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.01607, allocations: 88.81 kB / 0.9882 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.01609, allocations: 0 / 0.9882 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.01643, allocations: 168 kB / 0.9884 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.01644, allocations: 96 / 0.9884 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0008114/0.01725, allocations: 400.2 kB / 0.9888 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.01732, allocations: 67.38 kB / 0.9889 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.01751, allocations: 182.7 kB / 0.989 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.01758, allocations: 45.69 kB / 0.9891 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.01768, allocations: 129 kB / 0.9892 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.01779, allocations: 75.42 kB / 0.9893 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01792, allocations: 82.19 kB / 0.9893 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.0181, allocations: 338.8 kB / 0.9897 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.01835, allocations: 116.9 kB / 0.9898 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.01875, allocations: 295.7 kB / 0.9901 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.01934, allocations: 360 kB / 0.9904 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.01935, allocations: 4 kB / 0.9904 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007968/0.02015, allocations: 409.3 kB / 0.9908 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.02018, allocations: 11.94 kB / 0.9908 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.02019, allocations: 4.188 kB / 0.9908 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.02023, allocations: 11.94 kB / 0.9908 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.02049, allocations: 67.84 kB / 0.9909 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.02052, allocations: 15.92 kB / 0.9909 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.02073, allocations: 35.78 kB / 0.9909 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.02076, allocations: 12 kB / 0.9909 GB, free: 1.836 MB / 0.9356 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.0002696/0.02103, allocations: 184.5 kB / 0.9911 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.02109, allocations: 27.84 kB / 0.9912 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.02116, allocations: 22.59 kB / 0.9912 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.02116, allocations: 0 / 0.9912 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.02117, allocations: 0 / 0.9912 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.02118, allocations: 3.984 kB / 0.9912 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.02246, allocations: 0.6123 MB / 0.9918 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.02246, allocations: 3.938 kB / 0.9918 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.02259, allocations: 27.92 kB / 0.9918 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.02259, allocations: 0 / 0.9918 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.02262, allocations: 7.984 kB / 0.9918 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.02262, allocations: 0 / 0.9918 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02263, allocations: 0 / 0.9918 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/0.0235, allocations: 0.5163 MB / 0.9923 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.02353, allocations: 19.78 kB / 0.9923 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.02358, allocations: 20.03 kB / 0.9924 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.02372, allocations: 15.98 kB / 0.9924 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.02379, allocations: 19.95 kB / 0.9924 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.02382, allocations: 12 kB / 0.9924 GB, free: 296 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001425/0.02397, allocations: 124.7 kB / 0.9925 GB, free: 172 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.02397, allocations: 4 kB / 0.9925 GB, free: 168 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005199/0.02449, allocations: 107.7 kB / 0.9926 GB, free: 60 kB / 0.9356 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.001117/0.0256, allocations: 368.9 kB / 0.993 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005814/0.02619, allocations: 275.5 kB / 0.9932 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02619, allocations: 0 / 0.9932 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.02641, allocations: 102.1 kB / 0.9933 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.02674, allocations: 23.92 kB / 0.9934 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02785, allocations: 468.8 kB / 0.9938 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.02802, allocations: 140.6 kB / 0.9939 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.02816, allocations: 50.25 kB / 0.994 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.02822, allocations: 24.5 kB / 0.994 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.02822, allocations: 3.938 kB / 0.994 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of Templates: time 0.008978/0.0372, allocations: 3.296 MB / 0.9972 GB, free: 11.41 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.103188429027796]