Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001309/0.001309, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001669/0.001669, allocations: 167.4 kB / 24.86 MB, free: 9.23 MB / 18.57 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 0.9843/0.9843, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.748/1.748, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.76e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003465/0.003492, allocations: 1.85 MB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.009332, allocations: 1.758 MB / 0.7918 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.009444, allocations: 8.531 kB / 0.7918 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.009647, allocations: 31.7 kB / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.009767, allocations: 16.5 kB / 0.7919 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.01055, allocations: 268.6 kB / 0.7921 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.01088, allocations: 255.4 kB / 0.7924 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.01103, allocations: 43.38 kB / 0.7924 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.0113, allocations: 139.6 kB / 0.7925 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.01144, allocations: 71.83 kB / 0.7926 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.01147, allocations: 16 kB / 0.7926 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.01187, allocations: 231 kB / 0.7928 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.01198, allocations: 83.77 kB / 0.7929 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.01205, allocations: 59.77 kB / 0.793 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.01255, allocations: 358.8 kB / 0.7933 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.01255, allocations: 4 kB / 0.7933 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01256, allocations: 3.938 kB / 0.7933 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.01256, allocations: 0 / 0.7933 GB, free: 7.094 MB / 0.7448 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.0007912/0.01335, allocations: 0.5817 MB / 0.7939 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.01339, allocations: 8.031 kB / 0.7939 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.01357, allocations: 50.44 kB / 0.7939 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.01383, allocations: 189.6 kB / 0.7941 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.01386, allocations: 28.3 kB / 0.7942 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.0139, allocations: 20.38 kB / 0.7942 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.01415, allocations: 151.3 kB / 0.7943 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01416, allocations: 3.938 kB / 0.7943 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.01418, allocations: 9.031 kB / 0.7943 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01419, allocations: 7.984 kB / 0.7943 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.01428, allocations: 35.97 kB / 0.7944 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009518/0.01524, allocations: 0.4902 MB / 0.7949 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.01544, allocations: 115 kB / 0.795 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.01551, allocations: 40.56 kB / 0.795 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.01553, allocations: 4 kB / 0.795 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.01572, allocations: 133.7 kB / 0.7951 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.417e-06/0.01572, allocations: 0 / 0.7951 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0004469/0.01617, allocations: 256 kB / 0.7954 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.01623, allocations: 67.95 kB / 0.7954 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.01639, allocations: 229.8 kB / 0.7957 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.01643, allocations: 46.38 kB / 0.7957 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.01653, allocations: 179.7 kB / 0.7959 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.093e-05/0.01662, allocations: 91.95 kB / 0.796 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01673, allocations: 84.88 kB / 0.796 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.01689, allocations: 0.5196 MB / 0.7966 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.01697, allocations: 32.97 kB / 0.7966 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01715, allocations: 227.5 kB / 0.7968 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.01744, allocations: 295.2 kB / 0.7971 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.01745, allocations: 4 kB / 0.7971 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004032/0.01785, allocations: 273.3 kB / 0.7973 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.01787, allocations: 11.98 kB / 0.7974 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01788, allocations: 4 kB / 0.7974 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.0179, allocations: 11.94 kB / 0.7974 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.01814, allocations: 79.84 kB / 0.7974 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.01815, allocations: 14.88 kB / 0.7975 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.01827, allocations: 31.77 kB / 0.7975 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.01829, allocations: 16 kB / 0.7975 GB, free: 2.477 MB / 0.7448 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.0001536/0.01844, allocations: 200.5 kB / 0.7977 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.01849, allocations: 31.86 kB / 0.7977 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.01854, allocations: 22.64 kB / 0.7978 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.01854, allocations: 8.562 kB / 0.7978 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.01855, allocations: 4.547 kB / 0.7978 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01855, allocations: 0 / 0.7978 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.01928, allocations: 0.5383 MB / 0.7983 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.01929, allocations: 4 kB / 0.7983 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.01938, allocations: 20.7 kB / 0.7983 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01938, allocations: 1.188 kB / 0.7983 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.01941, allocations: 15.92 kB / 0.7983 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01941, allocations: 4 kB / 0.7983 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01941, allocations: 0 / 0.7983 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.01991, allocations: 434.4 kB / 0.7987 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.01994, allocations: 19.84 kB / 0.7988 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.01998, allocations: 20.56 kB / 0.7988 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.02008, allocations: 13.38 kB / 0.7988 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.02013, allocations: 15.95 kB / 0.7988 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.02015, allocations: 15.98 kB / 0.7988 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.02023, allocations: 153.4 kB / 0.799 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02023, allocations: 3.688 kB / 0.799 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004915/0.02072, allocations: 107.7 kB / 0.7991 GB, free: 0.8125 MB / 0.7448 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.0008501/0.02157, allocations: 363.2 kB / 0.7994 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.02185, allocations: 174.8 kB / 0.7996 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02185, allocations: 0 / 0.7996 GB, free: 372 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.02196, allocations: 67.83 kB / 0.7997 GB, free: 300 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.02227, allocations: 37.5 kB / 0.7997 GB, free: 264 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.02326, allocations: 441 kB / 0.8001 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.02333, allocations: 88.31 kB / 0.8002 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.915e-05/0.02342, allocations: 38.27 kB / 0.8002 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.02352, allocations: 98.14 kB / 0.8003 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 5.71e-07/0.02352, allocations: 0 / 0.8003 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.007276/0.0308, allocations: 3.682 MB / 0.8039 GB, free: 11.93 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.016777197830379]