Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_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_10_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.001052/0.001052, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001125/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 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.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.814/2.814, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 16 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7639, allocations: 153.8 MB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.0009346/0.7649, allocations: 398.2 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.7659, allocations: 0.8196 MB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.7659, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.7659, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.766, allocations: 3.938 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.7662, allocations: 15.98 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.7662, allocations: 31.91 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.7663, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.7664, allocations: 11.98 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.7665, allocations: 19.86 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.7665, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.7665, allocations: 4 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.7665, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.7666, allocations: 33.64 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.892e-05/0.7666, allocations: 23.94 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7666, allocations: 8 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7667, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7667, allocations: 0 / 1.024 GB, free: 14.78 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.0005323/0.7672, allocations: 361.2 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7673, allocations: 16.03 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.7673, allocations: 3.906 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.7674, allocations: 167 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.7675, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.7675, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.7677, allocations: 77.61 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7678, allocations: 4 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.7678, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.7678, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.768, allocations: 79.86 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.7685, allocations: 272.9 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.7687, allocations: 74.53 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.7689, allocations: 44.89 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.7689, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.769, allocations: 34.56 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/0.769, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004684/0.7694, allocations: 141.5 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.7695, allocations: 55.53 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.7696, allocations: 105.8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7696, allocations: 29.64 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.7697, allocations: 88.14 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.7697, allocations: 7.891 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.7697, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7699, allocations: 310.8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.77, allocations: 43.91 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.7702, allocations: 53.69 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.7703, allocations: 39.91 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7703, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002667/0.7706, allocations: 113.6 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.7707, allocations: 94.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7707, allocations: 4.031 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7707, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.7708, allocations: 15.98 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7708, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.7709, allocations: 19.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.7709, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/0.771, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001532/0.7711, allocations: 51.89 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-06/0.7711, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.7711, allocations: 3.953 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.7712, allocations: 16.02 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-06/0.7712, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.7713, allocations: 16 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-06/0.7713, allocations: 0 / 1.026 GB, free: 12.25 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.0001214/0.7714, allocations: 189.1 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.7714, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.7715, allocations: 11.48 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7715, allocations: 4 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7715, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7715, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.7717, allocations: 161.7 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7717, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.7718, allocations: 15.98 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7718, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.7718, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7718, allocations: 11.95 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7718, allocations: 256 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.7721, allocations: 203.4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.7722, allocations: 81.02 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.7722, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.7723, allocations: 19.92 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.7723, allocations: 11.88 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.7723, allocations: 4.031 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.7724, allocations: 87.28 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7724, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002805/0.7727, allocations: 4 kB / 1.027 GB, free: 11.36 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.0001345/0.7728, allocations: 99.25 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.7732, allocations: 111.8 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7732, allocations: 4.125 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.7733, allocations: 35.97 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.7736, allocations: 4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.774, allocations: 140.7 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.7743, allocations: 0.6731 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.7744, allocations: 7.984 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.7744, allocations: 7.438 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 7.72e-07/0.7744, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.002712/0.7771, allocations: 0.493 MB / 1.028 GB, free: 9.723 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches