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.001298/0.001298, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.01136/0.01136, allocations: 170.3 kB / 16.26 MB, free: 6.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.593/1.593, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.021/3.021, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004613, allocations: 17.05 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3817, allocations: 159.6 MB / 1.059 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0008075/0.3825, allocations: 311.5 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.195e-05/0.3826, allocations: 4 kB / 1.059 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.3826, allocations: 3.938 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.3826, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.3827, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.097e-05/0.3827, allocations: 0 / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.888e-05/0.3827, allocations: 8 kB / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.3828, allocations: 0 / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.3828, allocations: 0 / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.898e-05/0.3828, allocations: 0 / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3829, allocations: 0 / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.07e-06/0.3829, allocations: 0 / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.3829, allocations: 11.98 kB / 1.059 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.3829, allocations: 25.7 kB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.277e-05/0.383, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.383, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.383, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.383, allocations: 0 / 1.059 GB, free: 5.051 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.0002759/0.3833, allocations: 315.5 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3834, allocations: 8.031 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.3834, allocations: 0.9375 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.3835, allocations: 164.3 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3835, allocations: 8.375 kB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.3835, allocations: 384 / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.225e-05/0.3836, allocations: 34.2 kB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3836, allocations: 192 / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3836, allocations: 11.86 kB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3837, allocations: 0 / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.3837, allocations: 0 / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.3838, allocations: 145.7 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.3839, allocations: 26.52 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.3839, allocations: 8.953 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.3839, allocations: 0 / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3839, allocations: 30.56 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.3839, allocations: 0 / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.3841, allocations: 37.62 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3841, allocations: 51.53 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.455e-05/0.3842, allocations: 97.86 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3842, allocations: 29.7 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.3842, allocations: 80.14 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3842, allocations: 3.938 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.3843, allocations: 9.719 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3844, allocations: 310.8 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.3844, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.3844, allocations: 4 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.3844, allocations: 8.922 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3844, allocations: 0 / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.91e-05/0.3845, allocations: 41.69 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3845, allocations: 4 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3845, allocations: 0 / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3845, allocations: 3.938 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.3846, allocations: 4 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3846, allocations: 3.938 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.3846, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3846, allocations: 4.031 kB / 1.06 GB, free: 3.406 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 6.763e-05/0.3847, allocations: 105.8 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.3847, allocations: 0 / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.3847, allocations: 11.06 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3847, allocations: 3.984 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3848, allocations: 0 / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3848, allocations: 3.938 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.3848, allocations: 141.7 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3849, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.3849, allocations: 12 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3849, allocations: 0 / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3849, allocations: 7.938 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3849, allocations: 0 / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3849, allocations: 0 / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.37e-05/0.385, allocations: 61.06 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.385, allocations: 77.11 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.385, allocations: 7.875 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.385, allocations: 8.016 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.3851, allocations: 4 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.3851, allocations: 0 / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.3851, allocations: 75.28 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3851, allocations: 0 / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001964/0.3853, allocations: 4 kB / 1.061 GB, free: 2.801 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.000142/0.3855, allocations: 99.23 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.089e-05/0.3855, allocations: 8 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3855, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-06/0.3855, allocations: 4 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3857, allocations: 1.656 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.3859, allocations: 94.25 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3862, allocations: 0.6692 MB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.113e-05/0.3862, allocations: 0 / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3862, allocations: 7.438 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3862, allocations: 8.062 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of Templates: time 0.002158/0.3884, allocations: 164.8 kB / 1.062 GB, free: 1.691 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