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.00139/0.00139, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001689/0.001689, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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 1.435/1.435, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.672/2.672, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.2.",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.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.81e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003443/0.003471, allocations: 1.824 MB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.006403, allocations: 1.728 MB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.006486, allocations: 4 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.006679, allocations: 28.28 kB / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.006809, allocations: 13.03 kB / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.007621, allocations: 271.5 kB / 0.7901 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.008004, allocations: 264.3 kB / 0.7904 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.00814, allocations: 33.8 kB / 0.7904 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.008408, allocations: 132.7 kB / 0.7905 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.00855, allocations: 71.83 kB / 0.7906 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.008584, allocations: 12 kB / 0.7906 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.009036, allocations: 232.1 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.009164, allocations: 87.77 kB / 0.7909 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.009262, allocations: 67.19 kB / 0.791 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.009955, allocations: 418.7 kB / 0.7914 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.009959, allocations: 3.938 kB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00996, allocations: 3.938 kB / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.009965, allocations: 0 / 0.7914 GB, free: 7.684 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.0009576/0.01092, allocations: 492.8 kB / 0.7919 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01096, allocations: 8.812 kB / 0.7919 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.01118, allocations: 52.78 kB / 0.7919 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.01164, allocations: 210.7 kB / 0.7921 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.01167, allocations: 17.91 kB / 0.7921 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.01173, allocations: 24.38 kB / 0.7922 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.01215, allocations: 221.4 kB / 0.7924 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01216, allocations: 1.531 kB / 0.7924 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.01219, allocations: 4 kB / 0.7924 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.0122, allocations: 4 kB / 0.7924 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.01247, allocations: 115.9 kB / 0.7925 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.01377, allocations: 497.8 kB / 0.793 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.01416, allocations: 184.6 kB / 0.7931 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.01435, allocations: 92.75 kB / 0.7932 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.01438, allocations: 4 kB / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.01471, allocations: 168.5 kB / 0.7934 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.833e-06/0.01471, allocations: 0.7188 kB / 0.7934 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0008565/0.01557, allocations: 397.6 kB / 0.7938 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.01564, allocations: 71.33 kB / 0.7938 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01583, allocations: 170.2 kB / 0.794 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.01588, allocations: 46.31 kB / 0.794 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.016, allocations: 133 kB / 0.7942 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.01608, allocations: 76.52 kB / 0.7942 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.01621, allocations: 82.19 kB / 0.7943 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.0164, allocations: 338.8 kB / 0.7946 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.01665, allocations: 117.7 kB / 0.7948 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.01703, allocations: 284.5 kB / 0.795 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.01762, allocations: 374.1 kB / 0.7954 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.01763, allocations: 4 kB / 0.7954 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007642/0.01839, allocations: 435.7 kB / 0.7958 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.01842, allocations: 11.94 kB / 0.7958 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.01843, allocations: 5.531 kB / 0.7958 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01845, allocations: 4 kB / 0.7958 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.01869, allocations: 63.91 kB / 0.7959 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.0187, allocations: 7.938 kB / 0.7959 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01886, allocations: 32.28 kB / 0.7959 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.01889, allocations: 20.56 kB / 0.7959 GB, free: 2.738 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.0002213/0.01911, allocations: 187.2 kB / 0.7961 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.01917, allocations: 27.86 kB / 0.7961 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.01923, allocations: 30.58 kB / 0.7962 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01923, allocations: 0.9062 kB / 0.7962 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.01924, allocations: 4 kB / 0.7962 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01924, allocations: 4.891 kB / 0.7962 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.0204, allocations: 0.6161 MB / 0.7968 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.02041, allocations: 7.906 kB / 0.7968 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.02053, allocations: 23.92 kB / 0.7968 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.02053, allocations: 0 / 0.7968 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.02056, allocations: 11.98 kB / 0.7968 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.02056, allocations: 192 / 0.7968 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.02056, allocations: 8 kB / 0.7968 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.02146, allocations: 0.5236 MB / 0.7973 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.02149, allocations: 19.78 kB / 0.7974 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.02154, allocations: 16.03 kB / 0.7974 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.02167, allocations: 13.02 kB / 0.7974 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.02175, allocations: 23.95 kB / 0.7974 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.02178, allocations: 9.031 kB / 0.7974 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001187/0.0219, allocations: 125.5 kB / 0.7975 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0219, allocations: 0 / 0.7975 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005207/0.02242, allocations: 108.8 kB / 0.7976 GB, free: 0.9414 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.001144/0.02356, allocations: 364.5 kB / 0.798 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.02413, allocations: 271.5 kB / 0.7983 GB, free: 408 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02413, allocations: 0 / 0.7983 GB, free: 408 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.02436, allocations: 101.8 kB / 0.7984 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.0247, allocations: 33.02 kB / 0.7984 GB, free: 276 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02572, allocations: 485.6 kB / 0.7988 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.02589, allocations: 140.6 kB / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.02603, allocations: 50.25 kB / 0.799 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.0261, allocations: 24.5 kB / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.0261, allocations: 0 / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.008431/0.03453, allocations: 3.307 MB / 0.8023 GB, free: 12.29 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.562201942084357]