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.001055/0.001055, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001391/0.001391, allocations: 168.7 kB / 15.95 MB, free: 204 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.608/1.608, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.034/3.034, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 10.69 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3804, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.0009249/0.3813, allocations: 400.6 kB / 1.058 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.3823, allocations: 0.8235 MB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.3823, allocations: 0 / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.3824, allocations: 3.938 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.3824, allocations: 4 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3826, allocations: 15.92 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.3827, allocations: 31.92 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.3828, allocations: 4 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.3829, allocations: 11.92 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.3829, allocations: 19.91 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.383, allocations: 4 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.383, allocations: 4 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.383, allocations: 4 kB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.383, allocations: 25.7 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.561e-05/0.3831, allocations: 23.95 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3831, allocations: 3.984 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.614e-06/0.3831, allocations: 0 / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3831, allocations: 0 / 1.059 GB, free: 3.93 MB / 0.8106 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.00051/0.3837, allocations: 363.5 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3837, allocations: 8.031 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3837, allocations: 3.906 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3839, allocations: 163.1 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3839, allocations: 7.938 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3839, allocations: 3.953 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3841, allocations: 77.64 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3842, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3842, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3842, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.3844, allocations: 79.86 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.3849, allocations: 280.9 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3851, allocations: 70.47 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3853, allocations: 44.89 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3853, allocations: 0 / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3853, allocations: 30.56 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3853, allocations: 4 kB / 1.06 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004822/0.3858, allocations: 137.7 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3859, allocations: 55.34 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.386, allocations: 113.8 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.386, allocations: 25.7 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.3861, allocations: 92.05 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3861, allocations: 4.016 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.3861, allocations: 4 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3862, allocations: 314.8 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3863, allocations: 35.97 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3865, allocations: 53.69 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3866, allocations: 40.02 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3866, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002504/0.3869, allocations: 113.5 kB / 1.061 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.387, allocations: 92.98 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.387, allocations: 4 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.387, allocations: 3.938 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3871, allocations: 15.98 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3871, allocations: 4.031 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.3872, allocations: 15.98 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3872, allocations: 4 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.3872, allocations: 4 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001453/0.3874, allocations: 55.91 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-06/0.3874, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-06/0.3874, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.3874, allocations: 11.98 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-06/0.3875, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3875, allocations: 15.94 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-06/0.3875, allocations: 7.969 kB / 1.062 GB, free: 1.387 MB / 0.8106 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.000104/0.3876, allocations: 185.1 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3877, allocations: 7.953 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.3877, allocations: 7.531 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3877, allocations: 3.938 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3877, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3877, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3879, allocations: 161.7 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3879, allocations: 0 / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.388, allocations: 19.98 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.388, allocations: 0 / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.388, allocations: 7.953 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.388, allocations: 0 / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.388, allocations: 0 / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3883, allocations: 203.4 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.3884, allocations: 77.11 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3884, allocations: 4 kB / 1.062 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.3885, allocations: 23.97 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.3885, allocations: 4.234 kB / 1.062 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3886, allocations: 4 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.3886, allocations: 83.28 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3886, allocations: 3.938 kB / 1.062 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002649/0.3889, allocations: 12 kB / 1.062 GB, free: 0.5 MB / 0.8106 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.0001724/0.3891, allocations: 99.25 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.3894, allocations: 103.9 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3894, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3895, allocations: 40.09 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3898, allocations: 11.88 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.3902, allocations: 144.5 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3905, allocations: 0.681 MB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.3905, allocations: 4 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.3905, allocations: 7.438 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3905, allocations: 0 / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.002784/0.3933, allocations: 0.4978 MB / 1.064 GB, free: 14.86 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches