Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001505, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.01395/0.01395, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 13.75 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3672, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.0009956/0.3682, allocations: 444.4 kB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.3692, allocations: 0.804 MB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.3693, allocations: 3.938 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.3693, allocations: 3.938 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.3694, allocations: 3.938 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.3695, allocations: 15.98 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.3696, allocations: 39.86 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3697, allocations: 15.98 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.3698, allocations: 11.98 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.3699, allocations: 15.92 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3699, allocations: 7.938 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.3699, allocations: 0 / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3699, allocations: 7.984 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.37, allocations: 37.64 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.545e-05/0.3701, allocations: 47.78 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3701, allocations: 0 / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3701, allocations: 0 / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3701, allocations: 0 / 1.06 GB, free: 3.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005864/0.3707, allocations: 371.6 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3708, allocations: 8.031 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3708, allocations: 4.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.371, allocations: 176.2 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.371, allocations: 8.375 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.371, allocations: 384 / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.3713, allocations: 82.22 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3713, allocations: 192 / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3714, allocations: 3.938 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3714, allocations: 4 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.3717, allocations: 87.92 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.3721, allocations: 264.9 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3723, allocations: 74.47 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3725, allocations: 44.92 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3725, allocations: 4 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3726, allocations: 34.56 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3726, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005905/0.3732, allocations: 169.4 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3732, allocations: 55.41 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.3733, allocations: 105.8 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3734, allocations: 29.7 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.3734, allocations: 88.14 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3734, allocations: 11.89 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.3735, allocations: 9.719 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.3736, allocations: 310.8 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3737, allocations: 43.97 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3739, allocations: 47.89 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.3742, allocations: 92.78 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3742, allocations: 3.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003503/0.3745, allocations: 125.5 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3746, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3746, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3746, allocations: 3.938 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3747, allocations: 19.98 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3748, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.3748, allocations: 23.97 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3749, allocations: 4 kB / 1.062 GB, free: 1.496 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 (3): * Single equations (assignments): 3 * 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 8.621e-05/0.375, allocations: 115.3 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.375, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3754, allocations: 133.5 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3754, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3754, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3754, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3756, allocations: 173.6 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3756, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3757, allocations: 23.98 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3757, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3758, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3758, allocations: 320 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3758, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.3762, allocations: 223.3 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3762, allocations: 81.05 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3763, allocations: 0 / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3764, allocations: 23.92 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3764, allocations: 7.984 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3764, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.3765, allocations: 87.27 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3765, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002201/0.3767, allocations: 8 kB / 1.063 GB, free: 0.5312 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 (3): * Single equations (assignments): 3 * 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.0001684/0.3769, allocations: 104.9 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.3773, allocations: 96.34 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3773, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.3775, allocations: 43.97 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3778, allocations: 15.88 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.3781, allocations: 144.6 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3783, allocations: 0.6848 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.3784, allocations: 3.984 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3784, allocations: 15.44 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3784, allocations: 0 / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.002595/0.381, allocations: 0.5329 MB / 1.065 GB, free: 14.85 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches