Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 190.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007963/0.0007966, allocations: 85.28 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.21e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1756, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6808/0.8565, allocations: 131.3 MB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.8567, allocations: 77.34 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002189/0.8589, allocations: 0.794 MB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.859, allocations: 0 / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.859, allocations: 0 / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004688/0.8594, allocations: 354 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.8595, allocations: 8.031 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.8596, allocations: 0 / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.8597, allocations: 170.5 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.8598, allocations: 3.984 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.8598, allocations: 8 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.8599, allocations: 37.31 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8599, allocations: 0 / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.86, allocations: 7.938 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.86, allocations: 0 / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.949e-05/0.86, allocations: 15.5 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.8605, allocations: 283.9 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/0.8606, allocations: 33.81 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.8607, allocations: 12.73 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.8607, allocations: 0 / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.8607, allocations: 37.23 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.8607, allocations: 4 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.8609, allocations: 45.12 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.861, allocations: 55.22 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.861, allocations: 93 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.8611, allocations: 25.7 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.8611, allocations: 87.89 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.8611, allocations: 3.906 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.8611, allocations: 0 / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8613, allocations: 322.5 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.8613, allocations: 8.031 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.8613, allocations: 24.97 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.8614, allocations: 7.938 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8614, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.904e-05/0.8615, allocations: 45.19 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.8615, allocations: 94.75 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8615, allocations: 4.125 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8615, allocations: 4 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.8617, allocations: 15.98 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.8617, allocations: 3.953 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.8618, allocations: 19.92 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.8618, allocations: 7.984 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.8618, allocations: 4 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.867e-05/0.8618, allocations: 15.31 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8619, allocations: 7.938 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-06/0.8619, allocations: 3.938 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.8619, allocations: 11.98 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-06/0.8619, allocations: 0 / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.862, allocations: 16.89 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-06/0.862, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.8621, allocations: 110.1 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.8621, allocations: 7.859 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.8621, allocations: 7.609 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.8621, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8622, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.8622, allocations: 4 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.8623, allocations: 162.3 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.8623, allocations: 3.125 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.8624, allocations: 23.94 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8624, allocations: 4 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.8624, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8625, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8625, allocations: 3.984 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.8626, allocations: 142.4 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.8626, allocations: 81.02 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.8627, allocations: 12.12 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.8628, allocations: 11.98 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.8628, allocations: 4 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.8628, allocations: 0 / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.8629, allocations: 82.16 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8629, allocations: 32 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002406/0.8631, allocations: 12 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.8633, allocations: 103.2 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.8635, allocations: 29.31 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8635, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.8635, allocations: 11.62 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.8637, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.864, allocations: 93.03 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.8643, allocations: 0.677 MB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.8644, allocations: 7.984 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.8644, allocations: 7.438 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.8644, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Templates: time 0.002462/0.8669, allocations: 0.5554 MB / 1.025 GB, free: 14.38 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches