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.001513/0.001513, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001497/0.001497, allocations: 194.1 kB / 22.17 MB, free: 5.656 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.521/1.521, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.854/2.854, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.002073/0.002073, allocations: 71.88 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 168.7 MB / 1.274 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003953/1.012, allocations: 1.804 MB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001775/1.014, allocations: 0.8353 MB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/1.014, allocations: 7.938 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/1.014, allocations: 15.86 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/1.014, allocations: 43.72 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/1.015, allocations: 163.1 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000428/1.016, allocations: 207.6 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/1.016, allocations: 37.36 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/1.016, allocations: 79.7 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/1.016, allocations: 83.72 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/1.016, allocations: 20 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/1.016, allocations: 27.98 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/1.016, allocations: 39.78 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/1.017, allocations: 71.7 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/1.017, allocations: 210 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.017, allocations: 0 / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.845e-06/1.017, allocations: 0 / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.987e-06/1.017, allocations: 0 / 1.278 GB, free: 0.8281 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.001162/1.018, allocations: 484.3 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.018, allocations: 12.03 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/1.018, allocations: 16.84 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/1.019, allocations: 234 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/1.019, allocations: 16.39 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/1.019, allocations: 12.28 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/1.019, allocations: 85.97 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.019, allocations: 3.938 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.019, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/1.019, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/1.019, allocations: 63.95 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/1.02, allocations: 440.4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/1.02, allocations: 82.62 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/1.02, allocations: 36.83 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/1.02, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/1.021, allocations: 83.31 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/1.021, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003604/1.021, allocations: 137.5 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/1.021, allocations: 51.41 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/1.021, allocations: 184 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/1.021, allocations: 29.7 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.021, allocations: 116.2 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/1.021, allocations: 31.88 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/1.021, allocations: 37.7 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.022, allocations: 322.8 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/1.022, allocations: 55.97 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/1.022, allocations: 72.67 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.022, allocations: 136.2 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.022, allocations: 3.938 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003801/1.022, allocations: 203.2 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/1.023, allocations: 41.69 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.023, allocations: 480 / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.023, allocations: 4 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/1.023, allocations: 31.98 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.023, allocations: 3.938 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/1.023, allocations: 31.97 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/1.023, allocations: 11.92 kB / 1.281 GB, free: 13.54 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.0001321/1.023, allocations: 126.7 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/1.023, allocations: 11.91 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/1.023, allocations: 21.39 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.023, allocations: 4 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.023, allocations: 3.938 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.023, allocations: 0 / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/1.024, allocations: 229.5 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.024, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/1.024, allocations: 15.92 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.024, allocations: 4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/1.024, allocations: 4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.024, allocations: 0 / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.024, allocations: 3.938 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/1.024, allocations: 176.9 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.024, allocations: 97.08 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/1.024, allocations: 4 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/1.024, allocations: 3.984 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/1.024, allocations: 11.94 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/1.024, allocations: 4 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001665/1.024, allocations: 131.9 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.024, allocations: 4.062 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000253/1.025, allocations: 27.95 kB / 1.281 GB, free: 12.58 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.0001935/1.025, allocations: 111.7 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003318/1.025, allocations: 159.3 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.025, allocations: 0 / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/1.025, allocations: 36.2 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.026, allocations: 32.23 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/1.026, allocations: 292.8 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/1.027, allocations: 0.7157 MB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.053e-05/1.027, allocations: 16.88 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/1.027, allocations: 15.44 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/1.027, allocations: 0 / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.006373/1.033, allocations: 2.002 MB / 1.285 GB, free: 9.152 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 cvode -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: 9.268936736043543]