Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8069, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.0009489/0.8079, allocations: 410.2 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.8089, allocations: 0.8119 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.809, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.809, allocations: 11.92 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.8091, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.8092, allocations: 11.94 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.8093, allocations: 19.97 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.8094, allocations: 8 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.8095, allocations: 15.92 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.8095, allocations: 11.97 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.8096, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.8096, allocations: 4 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.8096, allocations: 7.938 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.8096, allocations: 29.64 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.717e-05/0.8097, allocations: 23.94 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8097, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8097, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.8097, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 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.0005676/0.8103, allocations: 353.3 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.8104, allocations: 15.98 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.8104, allocations: 4 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.8106, allocations: 178.9 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.8106, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.8106, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.8109, allocations: 81.53 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8109, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.8109, allocations: 4 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8109, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.8112, allocations: 75.94 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.8117, allocations: 268.9 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.8119, allocations: 78.47 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.8119, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.8119, allocations: 30.56 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8119, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005079/0.8125, allocations: 149.8 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.8125, allocations: 51.41 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.8126, allocations: 105.9 kB / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8126, allocations: 25.7 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.8127, allocations: 88.11 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.8127, allocations: 15.84 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.8127, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8129, allocations: 314.9 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.813, allocations: 39.91 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.8132, allocations: 53.69 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.8133, allocations: 35.97 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8133, allocations: 4.094 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003739/0.8137, allocations: 109.5 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.8137, allocations: 97.03 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8138, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.8138, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.8139, allocations: 19.98 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8139, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.814, allocations: 19.98 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.814, allocations: 0 / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.814, allocations: 4 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001706/0.8142, allocations: 59.83 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-06/0.8142, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.8142, allocations: 3.953 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.8143, allocations: 11.98 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-06/0.8143, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.8143, allocations: 11.98 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.8144, allocations: 4 kB / 1.024 GB, free: 13.21 MB / 0.7794 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 () * Number of clocked 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 0.0001105/0.8145, allocations: 189.2 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.8145, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.8145, allocations: 7.531 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8145, allocations: 3.953 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8146, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8146, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.8147, allocations: 165.7 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8147, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.8148, allocations: 19.98 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8148, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.8149, allocations: 7.922 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8149, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.8149, allocations: 3.953 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.8152, allocations: 203.4 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.8153, allocations: 81.02 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.8153, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.8154, allocations: 20.02 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.8154, allocations: 8.188 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.8154, allocations: 3.984 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.8155, allocations: 87.28 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8155, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002628/0.8158, allocations: 8 kB / 1.025 GB, free: 12.33 MB / 0.7794 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 () * Number of clocked 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.0001418/0.8159, allocations: 103.2 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.8163, allocations: 103.9 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8163, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.8165, allocations: 39.97 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.8167, allocations: 10.19 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.8171, allocations: 140.6 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.8174, allocations: 0.6809 MB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.8174, allocations: 7.938 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.8174, allocations: 11.44 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 8.22e-07/0.8175, allocations: 0 / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.002676/0.8201, allocations: 0.4897 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches