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.001597/0.001597, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001998/0.001998, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.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 3.276/3.276, allocations: 0.505 GB / 0.8108 GB, free: 22.11 MB / 0.6231 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.001994/0.001994, allocations: 72.11 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 180.2 MB / 1.354 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001736/0.3459, allocations: 0.5802 MB / 1.355 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.458e-05/0.3459, allocations: 8 kB / 1.355 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.3459, allocations: 0 / 1.355 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.346, allocations: 0 / 1.355 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.346, allocations: 4 kB / 1.355 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.097e-05/0.346, allocations: 0 / 1.355 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.3461, allocations: 0 / 1.355 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.3461, allocations: 0 / 1.355 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.3461, allocations: 3.984 kB / 1.355 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.3462, allocations: 4 kB / 1.355 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3462, allocations: 0 / 1.355 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.3462, allocations: 0 / 1.355 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.3462, allocations: 4 kB / 1.355 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.3462, allocations: 0 / 1.355 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.025e-05/0.3463, allocations: 3.984 kB / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3463, allocations: 4 kB / 1.355 GB, free: 7.391 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3463, allocations: 0 / 1.355 GB, free: 7.391 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3463, allocations: 0 / 1.355 GB, free: 7.391 MB / 1.045 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.0002774/0.3466, allocations: 230.5 kB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3466, allocations: 12.06 kB / 1.355 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.3466, allocations: 4.875 kB / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.3467, allocations: 114.4 kB / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3467, allocations: 4.375 kB / 1.355 GB, free: 6.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3467, allocations: 384 / 1.355 GB, free: 6.977 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.3468, allocations: 34.25 kB / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3468, allocations: 192 / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3468, allocations: 3.938 kB / 1.355 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3468, allocations: 0 / 1.355 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.3469, allocations: 4 kB / 1.355 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.347, allocations: 116.8 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.347, allocations: 22.52 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.3471, allocations: 12.95 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.3471, allocations: 0 / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3471, allocations: 34.55 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3471, allocations: 0 / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.3472, allocations: 37.62 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3473, allocations: 55.53 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.3473, allocations: 97.8 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3473, allocations: 25.7 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.3474, allocations: 80.14 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3474, allocations: 3.953 kB / 1.356 GB, free: 6.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.3474, allocations: 14.12 kB / 1.356 GB, free: 6.332 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3476, allocations: 314.8 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.3476, allocations: 0 / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.3476, allocations: 4 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.3476, allocations: 16.91 kB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3476, allocations: 0 / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.657e-05/0.3477, allocations: 33.7 kB / 1.356 GB, free: 5.953 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3477, allocations: 4 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3477, allocations: 0 / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3477, allocations: 7.938 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.3478, allocations: 3.938 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3478, allocations: 0 / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.3478, allocations: 4.031 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.3478, allocations: 0 / 1.356 GB, free: 5.934 MB / 1.045 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.611e-05/0.3479, allocations: 114.4 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-06/0.3479, allocations: 3.938 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.3479, allocations: 10.92 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.3479, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3479, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3479, allocations: 0 / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.39e-05/0.348, allocations: 116.8 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.348, allocations: 0 / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.348, allocations: 7.938 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.348, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.348, allocations: 3.938 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.348, allocations: 3.984 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.348, allocations: 4 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.345e-05/0.3481, allocations: 57.08 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.3481, allocations: 4 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3481, allocations: 7.969 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.3481, allocations: 4 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.3481, allocations: 0 / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3481, allocations: 3.984 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.3481, allocations: 79.28 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3481, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001738/0.3483, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.045 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.0001083/0.3484, allocations: 95.25 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.241e-05/0.3485, allocations: 8 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3485, allocations: 0 / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.3485, allocations: 0 / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.3486, allocations: 4 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.3489, allocations: 115.3 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3492, allocations: 0.669 MB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.3492, allocations: 7.438 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3492, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of Templates: time 0.001612/0.3508, allocations: 328 kB / 1.358 GB, free: 4.164 MB / 1.045 GB " [Timeout remaining time 300] 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 -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: 11.343370988004608]