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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001663/0.001663, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.002353/0.002353, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.624/2.624, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 72.19 kB / 0.8773 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3648, allocations: 153 MB / 1.027 GB, free: 1.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002038/0.3669, allocations: 0.7 MB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.3678, allocations: 0.818 MB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.3679, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.368, allocations: 3.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.368, allocations: 7.922 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.3681, allocations: 7.984 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.3682, allocations: 55.84 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3683, allocations: 4 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.3684, allocations: 15.98 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.3685, allocations: 23.86 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3685, allocations: 4 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.3685, allocations: 0 / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.3686, allocations: 11.98 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.3686, allocations: 27.8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3687, allocations: 39.86 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3688, allocations: 4 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3688, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3688, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 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.0006481/0.3694, allocations: 360.6 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3695, allocations: 8.031 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.3695, allocations: 8.844 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3696, allocations: 168.3 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3697, allocations: 8.375 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3697, allocations: 4.375 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.37, allocations: 66.22 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.37, allocations: 192 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.37, allocations: 3.938 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.37, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.3703, allocations: 75.86 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3707, allocations: 264.9 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3709, allocations: 54.48 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.3711, allocations: 36.91 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3711, allocations: 4 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3711, allocations: 42.5 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.3711, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005131/0.3717, allocations: 125.6 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3717, allocations: 55.41 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.3718, allocations: 109.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3718, allocations: 29.7 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.3719, allocations: 84.14 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3719, allocations: 7.812 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.372, allocations: 21.66 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3721, allocations: 314.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3722, allocations: 39.91 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3724, allocations: 40.06 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3726, allocations: 68.78 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3726, allocations: 3.938 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002835/0.3729, allocations: 97.62 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3729, allocations: 4 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.373, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.373, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3731, allocations: 15.98 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3731, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.3732, allocations: 19.97 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3732, allocations: 0 / 1.03 GB, free: 13.92 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.413e-05/0.3733, allocations: 125.7 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3733, allocations: 3.906 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.3737, allocations: 105.5 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3737, allocations: 4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3737, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3737, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3739, allocations: 169.6 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3739, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-05/0.374, allocations: 19.97 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.374, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.374, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.374, allocations: 320 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.374, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.3744, allocations: 203.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3744, allocations: 88.94 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3744, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3745, allocations: 11.98 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3746, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3746, allocations: 8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.3746, allocations: 91.25 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3747, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002196/0.3749, allocations: 8 kB / 1.031 GB, free: 12.99 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.0001462/0.375, allocations: 99.19 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3754, allocations: 79.86 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3754, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3755, allocations: 35.95 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3758, allocations: 7.938 kB / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.3762, allocations: 137 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3764, allocations: 0.685 MB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.3765, allocations: 0 / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.3765, allocations: 7.438 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3765, allocations: 4 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.00283/0.3794, allocations: 0.6655 MB / 1.033 GB, free: 11.21 MB / 0.8106 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 -s gbode -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