Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, 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.001859/0.001859, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 66.38 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3643, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001948/0.3663, allocations: 0.6237 MB / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.399e-05/0.3664, allocations: 3.938 kB / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.3664, allocations: 0 / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3664, allocations: 0 / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.3665, allocations: 4 kB / 1.053 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.814e-05/0.3665, allocations: 0 / 1.053 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.3666, allocations: 7.984 kB / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.3666, allocations: 0 / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.3667, allocations: 0 / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.506e-05/0.3667, allocations: 0 / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.495e-06/0.3667, allocations: 0 / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.3667, allocations: 0 / 1.053 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.3667, allocations: 7.938 kB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.3667, allocations: 4 kB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.873e-05/0.3668, allocations: 3.984 kB / 1.053 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3668, allocations: 4 kB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3668, allocations: 3.938 kB / 1.053 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3668, allocations: 0 / 1.053 GB, free: 8.152 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000386/0.3672, allocations: 311.5 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3673, allocations: 8.031 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3673, allocations: 0.9375 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3674, allocations: 164.4 kB / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3674, allocations: 384 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3675, allocations: 384 / 1.053 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3676, allocations: 42.2 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3676, allocations: 192 / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3676, allocations: 3.938 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3676, allocations: 0 / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.3676, allocations: 0 / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3678, allocations: 145.7 kB / 1.053 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.3679, allocations: 18.56 kB / 1.053 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.3679, allocations: 16.95 kB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3679, allocations: 3.984 kB / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3679, allocations: 38.5 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.368, allocations: 0 / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.3681, allocations: 33.64 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3681, allocations: 55.41 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.3682, allocations: 89.86 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3682, allocations: 25.7 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.3682, allocations: 84.27 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.3683, allocations: 4 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.3683, allocations: 13.7 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3684, allocations: 314.8 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.3685, allocations: 0 / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.3685, allocations: 3.938 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.3685, allocations: 8.859 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3685, allocations: 4.062 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.944e-05/0.3686, allocations: 33.7 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3686, allocations: 4 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3686, allocations: 4 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3686, allocations: 3.938 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.3687, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3687, allocations: 3.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.3687, allocations: 3.984 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3687, allocations: 7.922 kB / 1.054 GB, free: 6.504 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 (1): * Single equations (assignments): 1 * 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.037e-05/0.3688, allocations: 115.4 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-06/0.3688, allocations: 0 / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.3688, allocations: 7.062 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3688, allocations: 3.938 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3688, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3688, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.881e-05/0.3689, allocations: 149.7 kB / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3689, allocations: 0 / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-06/0.3689, allocations: 0 / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.369, allocations: 0 / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.369, allocations: 3.938 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.369, allocations: 4 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.369, allocations: 4 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.476e-05/0.369, allocations: 53.14 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3691, allocations: 81.09 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3691, allocations: 3.938 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.3691, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.3691, allocations: 4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.3691, allocations: 4.031 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.3692, allocations: 79.28 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.774e-06/0.3692, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002114/0.3694, allocations: 3.938 kB / 1.055 GB, free: 5.906 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 (1): * Single equations (assignments): 1 * 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.0001588/0.3696, allocations: 99.25 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.3696, allocations: 4 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3696, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.3697, allocations: 4.062 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3698, allocations: 4.281 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.3701, allocations: 103.1 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3703, allocations: 0.6692 MB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.251e-05/0.3703, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.3703, allocations: 7.438 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3703, allocations: 0 / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of Templates: time 0.001883/0.3722, allocations: 171.8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches