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.001666/0.001666, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002045/0.002045, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.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.976/2.976, allocations: 476 MB / 0.7699 GB, free: 4.797 MB / 0.6231 GB " [Timeout remaining time 176] 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.002111/0.002111, allocations: 69.31 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3938, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.003354/0.3971, allocations: 1.775 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3989, allocations: 0.8182 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.399, allocations: 4 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3992, allocations: 19.8 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.3994, allocations: 43.72 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.3999, allocations: 154.9 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.4003, allocations: 219.5 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4005, allocations: 25.56 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.4007, allocations: 87.75 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.4009, allocations: 75.72 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.4009, allocations: 16 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.401, allocations: 31.98 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.4011, allocations: 39.84 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.4012, allocations: 63.7 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.4015, allocations: 203.3 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4015, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4015, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4015, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 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.000901/0.4024, allocations: 403.3 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4024, allocations: 11.97 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.4025, allocations: 24.84 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.4028, allocations: 183.6 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4029, allocations: 8.375 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.4029, allocations: 8.375 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4031, allocations: 95.28 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4031, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4031, allocations: 3.984 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.4031, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.4033, allocations: 59.91 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.4039, allocations: 348.3 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.4041, allocations: 86.55 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.4041, allocations: 24.86 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4041, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.4043, allocations: 79.38 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.4043, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003111/0.4046, allocations: 137.5 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.4046, allocations: 59.34 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.4049, allocations: 187.3 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4049, allocations: 25.7 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.405, allocations: 116.2 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4051, allocations: 27.75 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.4051, allocations: 45.69 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4053, allocations: 326.8 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4055, allocations: 77.67 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.4056, allocations: 104.2 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.4058, allocations: 136.2 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4058, allocations: 7.938 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004667/0.4063, allocations: 240.9 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.4063, allocations: 38.17 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4063, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4064, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.4066, allocations: 23.98 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4066, allocations: 0 / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.4068, allocations: 43.78 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.4068, allocations: 16.06 kB / 1.289 GB, free: 5.277 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.0001263/0.4069, allocations: 129.8 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.407, allocations: 11.95 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.407, allocations: 13.41 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.407, allocations: 4 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.407, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.407, allocations: 3.938 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4072, allocations: 157.2 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4072, allocations: 4 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.4073, allocations: 8 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4073, allocations: 4 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4073, allocations: 4 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4073, allocations: 0 / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4073, allocations: 3.984 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.4076, allocations: 176.8 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.4076, allocations: 27.88 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4077, allocations: 3.984 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.4077, allocations: 4 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.4078, allocations: 11.92 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4078, allocations: 4 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001495/0.408, allocations: 133 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.408, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000239/0.4082, allocations: 31.94 kB / 1.29 GB, free: 4.496 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.0001597/0.4084, allocations: 107.2 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.4087, allocations: 185 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4087, allocations: 0 / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.4088, allocations: 44.14 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.409, allocations: 32.09 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.4097, allocations: 293.2 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.4098, allocations: 98.27 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.568e-05/0.4098, allocations: 20.97 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.4099, allocations: 15.44 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4099, allocations: 0 / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of Templates: time 0.005927/0.4158, allocations: 2.196 MB / 1.293 GB, free: 1.496 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 -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/jenkins/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: 9.673497231677175]