Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_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_10_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.001391/0.00139, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001402/0.001402, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7481, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.003231/0.7514, allocations: 0.7821 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.7529, allocations: 0.7962 MB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.753, allocations: 0 / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.7531, allocations: 0 / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.7532, allocations: 19.91 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.7534, allocations: 4 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.7536, allocations: 51.78 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.7538, allocations: 12 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.7539, allocations: 15.98 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.754, allocations: 15.92 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.7541, allocations: 4 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.7541, allocations: 7.938 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.7541, allocations: 11.98 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.7542, allocations: 7.938 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.7543, allocations: 51.84 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7543, allocations: 7.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7543, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7543, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 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.0006698/0.755, allocations: 357.3 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.7551, allocations: 12.03 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.7551, allocations: 0.9375 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.7553, allocations: 168.3 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.7553, allocations: 384 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.7554, allocations: 16.36 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.7557, allocations: 66.16 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7557, allocations: 192 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.7557, allocations: 11.94 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.7558, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.7561, allocations: 67.92 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.7567, allocations: 261 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.757, allocations: 58.42 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.7571, allocations: 44.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.7572, allocations: 3.938 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.7572, allocations: 30.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.938e-06/0.7573, allocations: 3.984 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000623/0.7579, allocations: 137.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.758, allocations: 55.34 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.7581, allocations: 109.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.7581, allocations: 25.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.7582, allocations: 88.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.7582, allocations: 11.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.7583, allocations: 13.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7585, allocations: 318.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.7586, allocations: 31.97 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.7588, allocations: 35.95 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.7591, allocations: 64.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7591, allocations: 7.938 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003593/0.7594, allocations: 101.5 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7595, allocations: 7.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7595, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.7595, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.7597, allocations: 19.92 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7597, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.7598, allocations: 11.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.7598, allocations: 0 / 1.021 GB, free: 14.57 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 (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.904e-05/0.7599, allocations: 117.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.7599, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.7603, allocations: 109.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7603, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7603, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.7603, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.7605, allocations: 169.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7605, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.7606, allocations: 23.97 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7606, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.7607, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7607, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7607, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.761, allocations: 187.4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.7611, allocations: 85.09 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7611, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7612, allocations: 23.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.7613, allocations: 432 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.7613, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.7613, allocations: 95.2 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7614, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002188/0.7616, allocations: 4 kB / 1.021 GB, free: 13.66 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 (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.0001483/0.7617, allocations: 107.2 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.7621, allocations: 71.92 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7621, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.7622, allocations: 40.03 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.7626, allocations: 14.05 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.7629, allocations: 149.4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.7632, allocations: 0.6768 MB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.7632, allocations: 4 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.7632, allocations: 7.438 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7633, allocations: 3.938 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.002845/0.7661, allocations: 0.5628 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches