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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8541, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003351/0.8574, allocations: 1.796 MB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.8591, allocations: 0.8432 MB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.8592, allocations: 3.938 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.8593, allocations: 11.86 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.8596, allocations: 43.72 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.8601, allocations: 157.2 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.8605, allocations: 215.5 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.8606, allocations: 29.38 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.8608, allocations: 83.75 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.861, allocations: 83.7 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.8611, allocations: 20 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.8612, allocations: 31.98 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.022e-05/0.8612, allocations: 35.8 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.8613, allocations: 75.64 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.8617, allocations: 202 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8617, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8617, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.8617, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 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.0009385/0.8626, allocations: 486.9 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.8626, allocations: 8.031 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.8627, allocations: 20.78 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.8631, allocations: 248.8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.8631, allocations: 4.375 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.8632, allocations: 20.34 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.8634, allocations: 81.98 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8634, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8634, allocations: 7.984 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.8634, allocations: 4 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.8636, allocations: 59.91 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.8642, allocations: 440.5 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.8644, allocations: 82.52 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.8645, allocations: 36.89 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.8645, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.8646, allocations: 83.31 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.8646, allocations: 4 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003095/0.865, allocations: 133.5 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.865, allocations: 51.41 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.8652, allocations: 179.3 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.8653, allocations: 29.7 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.8653, allocations: 108.1 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.8654, allocations: 36.02 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.8655, allocations: 45.7 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8656, allocations: 318.8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.8657, allocations: 55.97 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.8659, allocations: 74.38 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.866, allocations: 136.2 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8661, allocations: 0 / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003663/0.8664, allocations: 211.6 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.8665, allocations: 37.69 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.8665, allocations: 4 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.8665, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.8666, allocations: 28.14 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.8666, allocations: 11.81 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.8669, allocations: 27.97 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.8669, allocations: 11.98 kB / 1.281 GB, free: 13.46 MB / 0.9825 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.0001204/0.867, allocations: 125.8 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.867, allocations: 11.91 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.8671, allocations: 25.39 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8671, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8671, allocations: 3.938 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8671, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.8673, allocations: 221.5 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.8673, allocations: 15.92 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.8674, allocations: 4 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8674, allocations: 4 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.8674, allocations: 4 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.8674, allocations: 3.938 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8674, allocations: 3.938 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.8677, allocations: 172.9 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.8678, allocations: 93.08 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.8678, allocations: 8 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.8679, allocations: 3.984 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.8679, allocations: 11.92 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.8679, allocations: 4 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001457/0.8681, allocations: 128.9 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8681, allocations: 4.062 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002428/0.8683, allocations: 35.95 kB / 1.281 GB, free: 12.5 MB / 0.9825 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.0001476/0.8685, allocations: 107.7 kB / 1.281 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.8688, allocations: 155.3 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8688, allocations: 288 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.8689, allocations: 43.86 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.8691, allocations: 29.97 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.8697, allocations: 304.7 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.87, allocations: 0.708 MB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.8701, allocations: 20.88 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.8701, allocations: 11.44 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8701, allocations: 0 / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.005432/0.8756, allocations: 1.999 MB / 1.285 GB, free: 9.074 MB / 0.9825 GB " [Timeout remaining time 299] 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 gbode -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_2/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.796848183963448]