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.001543/0.001543, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.00168/0.00168, allocations: 192.8 kB / 17.31 MB, free: 5.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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.88 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3554, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002193/0.3577, allocations: 0.7112 MB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3587, allocations: 0.8141 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.3588, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.3588, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.3589, allocations: 7.938 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.359, allocations: 11.98 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.3591, allocations: 43.91 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3592, allocations: 7.984 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.3593, allocations: 23.92 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.3594, allocations: 15.92 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3594, allocations: 4 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.3594, allocations: 4 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.3595, allocations: 7.984 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3595, allocations: 23.86 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.801e-05/0.3596, allocations: 51.73 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3596, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3596, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3596, allocations: 4 kB / 1.028 GB, free: 284 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.0005014/0.3601, allocations: 355.4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3602, allocations: 12.03 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3602, allocations: 4.844 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3603, allocations: 172.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3604, allocations: 8.375 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3604, allocations: 4.375 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.3606, allocations: 66.22 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3606, allocations: 4.125 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3606, allocations: 3.938 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3607, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.3609, allocations: 71.86 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.3613, allocations: 264.9 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3615, allocations: 54.48 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3616, allocations: 44.91 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3617, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3617, allocations: 34.5 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3617, allocations: 0 / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004972/0.3622, allocations: 133.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3622, allocations: 55.41 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.3623, allocations: 105.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3623, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.3624, allocations: 88.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3624, allocations: 7.812 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.3625, allocations: 21.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3626, allocations: 310.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3627, allocations: 31.97 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3628, allocations: 35.95 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.3631, allocations: 73 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3631, allocations: 11.94 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002856/0.3634, allocations: 97.61 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3634, allocations: 4 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3634, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3634, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3636, allocations: 15.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3636, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.3637, allocations: 19.97 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3637, allocations: 0 / 1.03 GB, free: 13.96 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 7.599e-05/0.3638, allocations: 117.7 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3638, allocations: 15.78 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.3641, allocations: 109.5 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3641, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3641, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3642, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.3643, allocations: 173.5 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3643, allocations: 3.984 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.3644, allocations: 15.98 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3644, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3645, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3645, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3645, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3648, allocations: 195.3 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.3648, allocations: 92.95 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3649, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.365, allocations: 11.98 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.365, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.365, allocations: 3.984 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.3651, allocations: 87.28 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002393/0.3653, allocations: 4 kB / 1.031 GB, free: 13.03 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.0001435/0.3655, allocations: 99.25 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.3658, allocations: 79.84 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3658, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.366, allocations: 35.97 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3663, allocations: 7.938 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.3666, allocations: 133.4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.3668, allocations: 0.6807 MB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3669, allocations: 4 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.3669, allocations: 7.438 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3669, allocations: 0 / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.003015/0.3699, allocations: 0.6786 MB / 1.033 GB, free: 11.25 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 cvode -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