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.001031/0.001031, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001167/0.001167, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.9911/0.9911, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.693/1.693, allocations: 359 MB / 0.6055 GB, free: 10.99 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.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.682e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002776/0.002803, allocations: 1.864 MB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.004906, allocations: 1.76 MB / 0.7906 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.005018, allocations: 7.938 kB / 0.7906 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.005219, allocations: 36.3 kB / 0.7906 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.005337, allocations: 20.3 kB / 0.7907 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.00613, allocations: 266.5 kB / 0.7909 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.006455, allocations: 255.4 kB / 0.7912 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.006605, allocations: 45.78 kB / 0.7912 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.006842, allocations: 127.7 kB / 0.7913 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.006964, allocations: 75.77 kB / 0.7914 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.006992, allocations: 16 kB / 0.7914 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.007354, allocations: 231.5 kB / 0.7916 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.007456, allocations: 79.78 kB / 0.7917 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.007528, allocations: 64.55 kB / 0.7918 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.007969, allocations: 364.4 kB / 0.7921 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.007973, allocations: 0 / 0.7921 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/0.007974, allocations: 0 / 0.7921 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.007979, allocations: 0 / 0.7921 GB, free: 7.617 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.0007325/0.008712, allocations: 0.594 MB / 0.7927 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.008753, allocations: 8.031 kB / 0.7927 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.008933, allocations: 54.38 kB / 0.7928 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.009211, allocations: 197.8 kB / 0.793 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.009241, allocations: 20.38 kB / 0.793 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.009282, allocations: 20.38 kB / 0.793 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.009527, allocations: 163.3 kB / 0.7931 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.009537, allocations: 0 / 0.7931 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.009556, allocations: 11.92 kB / 0.7932 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.009566, allocations: 5.406 kB / 0.7932 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.009665, allocations: 51.95 kB / 0.7932 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.01054, allocations: 0.52 MB / 0.7937 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.01074, allocations: 135.8 kB / 0.7939 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.01082, allocations: 47.66 kB / 0.7939 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.01084, allocations: 4.812 kB / 0.7939 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.011, allocations: 132.4 kB / 0.794 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.011, allocations: 0 / 0.794 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0004141/0.01142, allocations: 273.4 kB / 0.7943 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.01147, allocations: 67.39 kB / 0.7944 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.0116, allocations: 225.8 kB / 0.7946 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.01164, allocations: 50.97 kB / 0.7946 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.01171, allocations: 179.7 kB / 0.7948 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.01178, allocations: 91.36 kB / 0.7949 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.01187, allocations: 91.84 kB / 0.795 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.01201, allocations: 0.5085 MB / 0.7955 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.01209, allocations: 45.69 kB / 0.7955 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.01227, allocations: 276.3 kB / 0.7958 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.01254, allocations: 302.6 kB / 0.7961 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01255, allocations: 4.938 kB / 0.7961 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003502/0.0129, allocations: 302.4 kB / 0.7963 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01292, allocations: 11.94 kB / 0.7964 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01293, allocations: 4 kB / 0.7964 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.01295, allocations: 7.984 kB / 0.7964 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01312, allocations: 87.83 kB / 0.7965 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.01313, allocations: 8 kB / 0.7965 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.01321, allocations: 31.78 kB / 0.7965 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01323, allocations: 16 kB / 0.7965 GB, free: 2.777 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.000149/0.01338, allocations: 205.8 kB / 0.7967 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01341, allocations: 31.84 kB / 0.7967 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.01345, allocations: 23.66 kB / 0.7968 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01346, allocations: 4 kB / 0.7968 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01346, allocations: 3.984 kB / 0.7968 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01347, allocations: 0.875 kB / 0.7968 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.0141, allocations: 0.58 MB / 0.7973 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.0141, allocations: 4.594 kB / 0.7973 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.01417, allocations: 19.98 kB / 0.7974 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01418, allocations: 1.625 kB / 0.7974 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.0142, allocations: 11.98 kB / 0.7974 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.0142, allocations: 0 / 0.7974 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.0142, allocations: 0 / 0.7974 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.01462, allocations: 460.8 kB / 0.7978 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01464, allocations: 19.78 kB / 0.7978 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.01468, allocations: 15.98 kB / 0.7978 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.01474, allocations: 11.98 kB / 0.7979 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.0148, allocations: 19.95 kB / 0.7979 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.01483, allocations: 19.92 kB / 0.7979 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.01491, allocations: 157.4 kB / 0.798 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01491, allocations: 0 / 0.798 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003602/0.01527, allocations: 107.7 kB / 0.7981 GB, free: 1.039 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.0007774/0.01604, allocations: 379.2 kB / 0.7985 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.01637, allocations: 182.7 kB / 0.7987 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01637, allocations: 4.188 kB / 0.7987 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01648, allocations: 87.5 kB / 0.7988 GB, free: 488 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01672, allocations: 33.95 kB / 0.7988 GB, free: 456 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.01769, allocations: 437.4 kB / 0.7992 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.01775, allocations: 88.31 kB / 0.7993 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.401e-05/0.01785, allocations: 46.25 kB / 0.7993 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.01789, allocations: 24.48 kB / 0.7994 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of SimCode: time 6.82e-07/0.01789, allocations: 0 / 0.7994 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.006038/0.02393, allocations: 3.296 MB / 0.8026 GB, free: 12.57 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.026204369962215]