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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 77.94 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 163.8 kB / 23.02 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.998/2.998, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.88 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001745/1.054, allocations: 0.5941 MB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 4.862e-05/1.054, allocations: 6.078 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/1.054, allocations: 0 / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/1.054, allocations: 0 / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/1.054, allocations: 0 / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.345e-05/1.054, allocations: 5.344 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.873e-05/1.054, allocations: 1.312 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/1.054, allocations: 2.531 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/1.054, allocations: 7.922 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/1.054, allocations: 0 / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/1.054, allocations: 1.344 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-06/1.054, allocations: 4 kB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/1.054, allocations: 0 / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/1.054, allocations: 5.938 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.697e-05/1.054, allocations: 0.5625 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.054, allocations: 1.75 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.054, allocations: 0 / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.054, allocations: 0 / 1.187 GB, free: 15.82 MB / 1.076 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.0002074/1.054, allocations: 240 kB / 1.187 GB, free: 15.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.054, allocations: 9.812 kB / 1.187 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/1.054, allocations: 0.9375 kB / 1.187 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.922e-05/1.054, allocations: 109.1 kB / 1.188 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.054, allocations: 4.312 kB / 1.188 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/1.054, allocations: 1.375 kB / 1.188 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/1.054, allocations: 28.75 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/1.054, allocations: 192 / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/1.054, allocations: 5.062 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.054, allocations: 0.6562 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/1.054, allocations: 5.141 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.529e-05/1.055, allocations: 100.2 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/1.055, allocations: 21.41 kB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/1.055, allocations: 10.73 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/1.055, allocations: 1.125 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/1.055, allocations: 36.08 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/1.055, allocations: 0.875 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001085/1.055, allocations: 39.45 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/1.055, allocations: 52.44 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.819e-05/1.055, allocations: 90.47 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/1.055, allocations: 25.7 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/1.055, allocations: 81.17 kB / 1.188 GB, free: 14.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/1.055, allocations: 128 / 1.188 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/1.055, allocations: 16.95 kB / 1.188 GB, free: 14.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/1.055, allocations: 312.8 kB / 1.188 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/1.055, allocations: 7.938 kB / 1.188 GB, free: 14.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/1.055, allocations: 3.156 kB / 1.188 GB, free: 14.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/1.055, allocations: 8.422 kB / 1.188 GB, free: 14.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.055, allocations: 0 / 1.188 GB, free: 14.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.048e-05/1.055, allocations: 30.81 kB / 1.188 GB, free: 14.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.055, allocations: 7.562 kB / 1.188 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.055, allocations: 1.281 kB / 1.188 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.055, allocations: 4.703 kB / 1.188 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/1.055, allocations: 5 kB / 1.188 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.055, allocations: 1.812 kB / 1.188 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/1.055, allocations: 0 / 1.188 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/1.055, allocations: 5.188 kB / 1.188 GB, free: 14.48 MB / 1.076 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 4.069e-05/1.055, allocations: 116 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/1.055, allocations: 0.5625 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/1.055, allocations: 4.844 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.055, allocations: 3.938 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.055, allocations: 0 / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/1.055, allocations: 5.031 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.524e-05/1.055, allocations: 96.25 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.055, allocations: 0 / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/1.055, allocations: 6.219 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/1.055, allocations: 0 / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/1.055, allocations: 2.109 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.055, allocations: 0 / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.055, allocations: 3.938 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.772e-05/1.055, allocations: 57.77 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/1.055, allocations: 5.859 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/1.055, allocations: 6.062 kB / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-06/1.055, allocations: 0 / 1.189 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/1.055, allocations: 9.906 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/1.055, allocations: 0 / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.209e-05/1.055, allocations: 75.28 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.1e-08/1.055, allocations: 1.375 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001959/1.056, allocations: 0 / 1.189 GB, free: 14.07 MB / 1.076 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 7.768e-05/1.056, allocations: 95.23 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.465e-05/1.056, allocations: 3.688 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.056, allocations: 4.062 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/1.056, allocations: 7.453 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/1.056, allocations: 1.031 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/1.056, allocations: 80.91 kB / 1.189 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.585e-05/1.056, allocations: 63.28 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.022e-05/1.056, allocations: 0.7031 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/1.056, allocations: 8.5 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.056, allocations: 0 / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of Templates: time 0.002209/1.058, allocations: 174.5 kB / 1.189 GB, free: 13.73 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.127772380015813]