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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007532/0.007532, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001657/0.001658, allocations: 191.2 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.896/2.896, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.89 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3594, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002206/0.3617, allocations: 0.6765 MB / 1.208 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3629, allocations: 0.8273 MB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.363, allocations: 0 / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.363, allocations: 3.938 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.3631, allocations: 7.938 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3633, allocations: 15.98 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.3634, allocations: 31.92 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3635, allocations: 4 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.3636, allocations: 19.91 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.3637, allocations: 15.92 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3637, allocations: 8 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.3637, allocations: 4 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.3637, allocations: 4 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.3638, allocations: 15.92 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3639, allocations: 35.81 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3639, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3639, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3639, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 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.0005912/0.3645, allocations: 363.7 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3646, allocations: 8.625 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3646, allocations: 38.75 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3647, allocations: 0.9375 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3648, allocations: 168.3 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3648, allocations: 384 / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3649, allocations: 384 / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3651, allocations: 62.22 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3651, allocations: 3.938 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3651, allocations: 4 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3651, allocations: 0 / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.3654, allocations: 63.86 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.3658, allocations: 261 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3661, allocations: 62.47 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3662, allocations: 32.89 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3662, allocations: 3.938 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3663, allocations: 38.5 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/0.3663, allocations: 4 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004959/0.3668, allocations: 113.5 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3668, allocations: 51.41 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.3669, allocations: 106 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3669, allocations: 25.7 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.367, allocations: 92.17 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.367, allocations: 7.984 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3671, allocations: 13.72 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3672, allocations: 310.8 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3673, allocations: 32.83 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3675, allocations: 49.75 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3677, allocations: 60.73 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3677, allocations: 3.938 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002897/0.368, allocations: 97.62 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3681, allocations: 5.719 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3681, allocations: 4 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3681, allocations: 0 / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3682, allocations: 11.98 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3682, allocations: 0 / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.3683, allocations: 19.91 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3684, allocations: 4.031 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001194/0.3685, allocations: 104.1 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.802e-05/0.3686, allocations: 29.64 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001402/0.3687, allocations: 40.81 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.3688, allocations: 4.094 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001919/0.3689, allocations: 65.61 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.369, allocations: 4 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-06/0.369, allocations: 0 / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.369, allocations: 4 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.369, allocations: 7.984 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-06/0.369, allocations: 0 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.3691, allocations: 11.98 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.3691, allocations: 4.031 kB / 1.211 GB, free: 5.816 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.3693, allocations: 180.2 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.3693, allocations: 11.84 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3694, allocations: 15.45 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3694, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3694, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3694, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3696, allocations: 165.6 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3696, allocations: 3.938 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.3696, allocations: 15.98 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3697, allocations: 0 / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3697, allocations: 0 / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.3697, allocations: 4 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3697, allocations: 3.984 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.37, allocations: 187.4 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.3701, allocations: 77.11 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3701, allocations: 4 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.3702, allocations: 15.98 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.3703, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3703, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.3703, allocations: 87.2 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002748/0.3706, allocations: 16.03 kB / 1.212 GB, free: 4.949 MB / 0.9669 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 (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.0006899/0.3713, allocations: 0.7162 MB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3717, allocations: 79.89 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3717, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3719, allocations: 31.97 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3722, allocations: 5.734 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.3728, allocations: 163.1 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.3731, allocations: 0.6768 MB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.3731, allocations: 4 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.3732, allocations: 15.42 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of SimCode: time 4.6e-07/0.3732, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.3913, allocations: 1.504 MB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.71, allocations: 10.98 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.fmu > 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/jenkins1/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