Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001241/0.001241, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6623, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001845/0.6642, allocations: 0.7087 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.6651, allocations: 0.8079 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.6652, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.6652, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.6653, allocations: 7.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.424e-05/0.6654, allocations: 11.97 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.6655, allocations: 43.86 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.6656, allocations: 15.97 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.6657, allocations: 15.94 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.6657, allocations: 23.91 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.6658, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.6658, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.6658, allocations: 7.938 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.6658, allocations: 19.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.246e-05/0.6659, allocations: 39.86 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6659, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.666, allocations: 7.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.666, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 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.0005151/0.6665, allocations: 355.2 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.6665, allocations: 16.02 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.6666, allocations: 4.844 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6667, allocations: 170.2 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6667, allocations: 4.375 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.6667, allocations: 4.375 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.667, allocations: 66.22 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.667, allocations: 4.188 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.667, allocations: 3.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.667, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.6673, allocations: 63.92 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.6676, allocations: 268.8 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.6679, allocations: 66.41 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.668, allocations: 36.92 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.668, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.6681, allocations: 30.56 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.6681, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000523/0.6686, allocations: 141.5 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.6686, allocations: 51.41 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.6687, allocations: 109.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.6687, allocations: 25.7 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.6688, allocations: 96.05 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.6688, allocations: 11.83 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.6689, allocations: 17.72 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.669, allocations: 310.8 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.6691, allocations: 31.95 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6693, allocations: 31.97 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.6695, allocations: 72.78 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6695, allocations: 3.938 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.6699, allocations: 101.9 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.6699, allocations: 8 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6699, allocations: 0 / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6699, allocations: 0 / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.67, allocations: 19.97 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.67, allocations: 3.938 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.6701, allocations: 11.98 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.6701, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 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 6.916e-05/0.6702, allocations: 113.8 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.6702, allocations: 11.91 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.6706, allocations: 109.5 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6706, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6706, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6706, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.6708, allocations: 177.6 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6708, allocations: 4 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.6709, allocations: 19.98 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6709, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.6709, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6709, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6709, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.6713, allocations: 195.4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.6713, allocations: 89.02 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.6714, allocations: 0 / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.6715, allocations: 15.92 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.6715, allocations: 7.922 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.6715, allocations: 0 / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.6716, allocations: 87.28 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6716, allocations: 0 / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002095/0.6718, allocations: 8 kB / 1.213 GB, free: 8.66 MB / 0.9356 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.0001306/0.6719, allocations: 103.2 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.6723, allocations: 67.92 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6723, allocations: 0 / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.6724, allocations: 43.91 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.6727, allocations: 18.05 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.673, allocations: 151.2 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6733, allocations: 0.6768 MB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.6733, allocations: 11.44 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.6733, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.001924/0.6752, allocations: 0.7411 MB / 1.215 GB, free: 6.797 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches