Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_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_10_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.001435/0.001435, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.002/0.001999, allocations: 200.9 kB / 16.15 MB, free: 6.594 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.816/2.816, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7494, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002363/0.7518, allocations: 0.7627 MB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.7529, allocations: 0.804 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.753, allocations: 0 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.753, allocations: 3.938 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.7531, allocations: 11.92 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.7532, allocations: 11.98 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.7533, allocations: 39.86 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7534, allocations: 11.98 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.7535, allocations: 19.92 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.7536, allocations: 15.92 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.7536, allocations: 4 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.7536, allocations: 4 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.7536, allocations: 11.92 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.7537, allocations: 15.88 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.7538, allocations: 43.86 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7538, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.91e-07/0.7538, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.7538, allocations: 0 / 1.018 GB, free: 0.9922 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.0006004/0.7544, allocations: 369.2 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7545, allocations: 12.03 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.7545, allocations: 4.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.7547, allocations: 176.3 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.7547, allocations: 384 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.7547, allocations: 384 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.755, allocations: 74.2 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.755, allocations: 192 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.755, allocations: 3.938 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.755, allocations: 3.984 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.7553, allocations: 67.92 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.7557, allocations: 260.9 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.756, allocations: 62.47 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.7561, allocations: 40.91 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.7562, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.7562, allocations: 34.56 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7562, allocations: 0 / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006081/0.7568, allocations: 133.4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.7569, allocations: 51.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.757, allocations: 109.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.757, allocations: 25.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.7571, allocations: 88.12 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.7571, allocations: 11.84 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.7571, allocations: 21.72 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7573, allocations: 314.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.7575, allocations: 31.91 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.7576, allocations: 31.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.7579, allocations: 72.72 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7579, allocations: 3.938 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003414/0.7583, allocations: 97.53 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.7583, allocations: 11.98 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7583, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7583, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.7585, allocations: 11.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7585, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.7586, allocations: 7.984 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7586, allocations: 7.938 kB / 1.02 GB, free: 14.66 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 9.741e-05/0.7587, allocations: 114.3 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.7587, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.7591, allocations: 117.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7591, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7591, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7591, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.7593, allocations: 173.6 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.7594, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-05/0.7595, allocations: 15.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7595, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.7595, allocations: 7.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7595, allocations: 4.312 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7595, allocations: 384 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.7599, allocations: 203.3 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.76, allocations: 81.02 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.76, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7601, allocations: 11.97 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.7601, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.7602, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.7602, allocations: 95.25 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7602, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002363/0.7605, allocations: 4 kB / 1.021 GB, free: 13.73 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.0001461/0.7606, allocations: 103.2 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.761, allocations: 63.92 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.761, allocations: 7.938 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.7612, allocations: 47.89 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.7615, allocations: 9.344 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.7618, allocations: 129.5 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.7622, allocations: 0.6848 MB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.7622, allocations: 4 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.7623, allocations: 11.44 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7623, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of Templates: time 0.002873/0.7652, allocations: 0.536 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches