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.001246/0.001246, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001406/0.001406, allocations: 161 kB / 23.82 MB, free: 0.75 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.8912/0.8912, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.665/1.665, allocations: 359 MB / 0.6052 GB, free: 10.98 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.332e-06/1.332e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.052e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.0023/0.00232, allocations: 1.866 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.003971, allocations: 1.766 MB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.004046, allocations: 8.562 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.004226, allocations: 31.66 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.00433, allocations: 21.2 kB / 0.7907 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.004867, allocations: 263.9 kB / 0.7909 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.005105, allocations: 255.4 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.00532, allocations: 46.33 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.005515, allocations: 136.4 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005616, allocations: 75.72 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.00564, allocations: 16.91 kB / 0.7914 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.005886, allocations: 215.6 kB / 0.7916 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.005972, allocations: 92.36 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.00603, allocations: 55.83 kB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.006375, allocations: 371.4 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006378, allocations: 0 / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006378, allocations: 1.656 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006383, allocations: 0 / 0.7921 GB, free: 7.289 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.0006115/0.006994, allocations: 0.5824 MB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.007031, allocations: 8.031 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.007171, allocations: 48.78 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.007374, allocations: 203.2 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.007398, allocations: 16.36 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.007438, allocations: 24.38 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.007654, allocations: 158.4 kB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.007664, allocations: 4.594 kB / 0.7931 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.007679, allocations: 8 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.007688, allocations: 11.42 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.007777, allocations: 47.95 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.008512, allocations: 0.5223 MB / 0.7937 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.008684, allocations: 123.1 kB / 0.7938 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.008751, allocations: 56.12 kB / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.00877, allocations: 4 kB / 0.7939 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.00891, allocations: 135 kB / 0.794 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/0.008912, allocations: 0 / 0.794 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0003576/0.00927, allocations: 268.8 kB / 0.7943 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.009318, allocations: 71.33 kB / 0.7943 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.009434, allocations: 226.4 kB / 0.7946 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.00947, allocations: 45.69 kB / 0.7946 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.009554, allocations: 181.1 kB / 0.7948 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.009635, allocations: 87.36 kB / 0.7949 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.009744, allocations: 91.78 kB / 0.795 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.009877, allocations: 0.5157 MB / 0.7955 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.009949, allocations: 42.12 kB / 0.7955 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.0101, allocations: 242.9 kB / 0.7957 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.01034, allocations: 307.3 kB / 0.796 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01034, allocations: 0 / 0.796 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002985/0.01064, allocations: 300.4 kB / 0.7963 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01065, allocations: 8 kB / 0.7963 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01066, allocations: 7.938 kB / 0.7963 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01068, allocations: 9 kB / 0.7963 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.01083, allocations: 79.84 kB / 0.7964 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01084, allocations: 12.42 kB / 0.7964 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.01091, allocations: 36.34 kB / 0.7965 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01093, allocations: 16.19 kB / 0.7965 GB, free: 2.508 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.0001076/0.01103, allocations: 205.6 kB / 0.7967 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01106, allocations: 33.19 kB / 0.7967 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.01109, allocations: 22.59 kB / 0.7967 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.0111, allocations: 8 kB / 0.7967 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.0111, allocations: 0 / 0.7967 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0111, allocations: 1.25 kB / 0.7967 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.01163, allocations: 0.5863 MB / 0.7973 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01164, allocations: 0 / 0.7973 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.0117, allocations: 16.75 kB / 0.7973 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.0117, allocations: 7.969 kB / 0.7973 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.01172, allocations: 12.92 kB / 0.7973 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01172, allocations: 4 kB / 0.7973 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01173, allocations: 0 / 0.7973 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.01207, allocations: 450.5 kB / 0.7978 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.01209, allocations: 23.78 kB / 0.7978 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.01212, allocations: 15.98 kB / 0.7978 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.01218, allocations: 8.953 kB / 0.7978 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.01223, allocations: 19.97 kB / 0.7978 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.01225, allocations: 13.8 kB / 0.7978 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.01231, allocations: 157.4 kB / 0.798 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01231, allocations: 0 / 0.798 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003609/0.01267, allocations: 115.6 kB / 0.7981 GB, free: 0.7695 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.0006483/0.01332, allocations: 370.8 kB / 0.7985 GB, free: 500 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.01356, allocations: 190.2 kB / 0.7986 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01356, allocations: 1.344 kB / 0.7986 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.01364, allocations: 79.56 kB / 0.7987 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.01385, allocations: 24.98 kB / 0.7987 GB, free: 200 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007859/0.01464, allocations: 448.4 kB / 0.7992 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.01469, allocations: 85.72 kB / 0.7993 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.01476, allocations: 54.17 kB / 0.7993 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.0148, allocations: 20.5 kB / 0.7993 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.0148, allocations: 0 / 0.7993 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.005235/0.02004, allocations: 3.566 MB / 0.8028 GB, free: 12.05 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: 4.867675438988954]