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.001509/0.001509, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001809/0.001809, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 72.19 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3487, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001861/0.3506, allocations: 0.765 MB / 1.053 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000797/0.3514, allocations: 0.804 MB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3515, allocations: 0 / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.3515, allocations: 4 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.391e-05/0.3516, allocations: 15.91 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.521e-05/0.3517, allocations: 4 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.3517, allocations: 51.78 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.3518, allocations: 8 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.3519, allocations: 11.98 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.352, allocations: 23.86 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.352, allocations: 0 / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.352, allocations: 4 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.352, allocations: 11.98 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3521, allocations: 11.94 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.3521, allocations: 51.78 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3522, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3522, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3522, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 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.0004871/0.3527, allocations: 359.6 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3527, allocations: 8.031 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3527, allocations: 8.938 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3529, allocations: 172.2 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3529, allocations: 8.375 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.3529, allocations: 384 / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3531, allocations: 74.16 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.3532, allocations: 192 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3532, allocations: 7.938 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3532, allocations: 0 / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.3535, allocations: 67.92 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3538, allocations: 257 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.354, allocations: 66.42 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3542, allocations: 36.91 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3542, allocations: 3.984 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3542, allocations: 38.56 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3542, allocations: 3.938 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005107/0.3548, allocations: 133.5 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3548, allocations: 51.41 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.3549, allocations: 113.8 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3549, allocations: 25.7 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.355, allocations: 84.14 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.355, allocations: 7.812 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.355, allocations: 21.72 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3551, allocations: 314.8 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3553, allocations: 31.97 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3554, allocations: 31.95 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.3557, allocations: 72.78 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3557, allocations: 3.938 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003037/0.356, allocations: 93.62 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.356, allocations: 7.938 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.356, allocations: 320 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.3561, allocations: 7.938 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3562, allocations: 15.98 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3562, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.3563, allocations: 11.98 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3563, allocations: 7.969 kB / 1.056 GB, free: 4.773 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.877e-05/0.3564, allocations: 117.8 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3564, allocations: 3.906 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.3568, allocations: 109.5 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3568, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3568, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3568, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.357, allocations: 173.6 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.357, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3571, allocations: 23.91 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3571, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3571, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3571, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3571, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.3575, allocations: 195.4 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3575, allocations: 96.94 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3576, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3577, allocations: 12.41 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.3577, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3577, allocations: 7.984 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.3578, allocations: 83.28 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3578, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002169/0.358, allocations: 11.94 kB / 1.057 GB, free: 3.848 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.0001697/0.3582, allocations: 103.2 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.3585, allocations: 71.91 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3585, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3587, allocations: 35.95 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.359, allocations: 21.28 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.3593, allocations: 143.1 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3596, allocations: 0.677 MB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.3596, allocations: 4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.3597, allocations: 15.38 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3597, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of Templates: time 0.002471/0.3621, allocations: 0.5446 MB / 1.058 GB, free: 2.188 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 -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/jenkins/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