Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.001379/0.001379, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001482/0.001482, allocations: 158.5 kB / 23.01 MB, free: 4.598 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.674/2.674, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 63.91 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3474, allocations: 169.9 MB / 1.117 GB, free: 2.594 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.004005/0.3515, allocations: 1.786 MB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3533, allocations: 0.8221 MB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3535, allocations: 8 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.3536, allocations: 15.8 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.354, allocations: 35.78 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.3546, allocations: 156.5 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.355, allocations: 211.6 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3551, allocations: 25.62 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3553, allocations: 87.75 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.3555, allocations: 91.52 kB / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.3556, allocations: 16 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.008e-05/0.3557, allocations: 28 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.3558, allocations: 31.91 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3559, allocations: 63.7 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3562, allocations: 203.2 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3563, allocations: 0 / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3563, allocations: 0 / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3563, allocations: 0 / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001024/0.3573, allocations: 407.3 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3573, allocations: 8.031 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.3574, allocations: 20.84 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.3578, allocations: 186.9 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3578, allocations: 12.38 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.3579, allocations: 12.38 kB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3581, allocations: 86.47 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3581, allocations: 0 / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3581, allocations: 4 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.3581, allocations: 8 kB / 1.122 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3583, allocations: 55.95 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.3589, allocations: 352.2 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3591, allocations: 82.62 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.3592, allocations: 32.78 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3592, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.3593, allocations: 83.36 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3593, allocations: 0 / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0003241/0.3597, allocations: 141.8 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3597, allocations: 55.41 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.36, allocations: 175.3 kB / 1.123 GB, free: 13.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.36, allocations: 33.8 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3601, allocations: 112 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3601, allocations: 36 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3602, allocations: 41.7 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3604, allocations: 330.8 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.3606, allocations: 85.61 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3608, allocations: 104.7 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.361, allocations: 124.3 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.361, allocations: 4 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004357/0.3614, allocations: 244.8 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.3615, allocations: 33.7 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3615, allocations: 3.984 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3615, allocations: 0 / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3616, allocations: 23.98 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3616, allocations: 4.062 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.3619, allocations: 39.86 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.3619, allocations: 8 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,sta.y1_actual,y1.y,$PRE.y1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001448/0.3621, allocations: 133.7 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3621, allocations: 11.95 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.3622, allocations: 17.47 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3622, allocations: 4 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3622, allocations: 3.984 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3622, allocations: 7.938 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3624, allocations: 157.2 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3624, allocations: 4 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.3625, allocations: 4 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.3625, allocations: 4 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3625, allocations: 3.984 kB / 1.124 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3625, allocations: 3.984 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3625, allocations: 0 / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3628, allocations: 172.9 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.3629, allocations: 23.92 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3629, allocations: 0 / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.363, allocations: 12.25 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.363, allocations: 3.984 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.363, allocations: 7.938 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001717/0.3632, allocations: 131.9 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3632, allocations: 0 / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002583/0.3635, allocations: 35.94 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (sta.fil.s[1],sta.fil.s[2]) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,y1.y,sta.y1_actual) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001733/0.3636, allocations: 111.1 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.364, allocations: 189 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.364, allocations: 4.125 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.3641, allocations: 35.98 kB / 1.125 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3644, allocations: 26.64 kB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.365, allocations: 297.2 kB / 1.125 GB, free: 10.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3651, allocations: 102.3 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3652, allocations: 12.97 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.3652, allocations: 16.5 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.3652, allocations: 0 / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of Templates: time 0.006091/0.3713, allocations: 2.13 MB / 1.127 GB, free: 8.156 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.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.859635442961007]