Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001452/0.001452, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001664/0.001664, allocations: 158.5 kB / 23.01 MB, free: 4.598 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.812/2.812, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002177/0.002177, allocations: 59.91 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9985/1.001, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001714/1.002, allocations: 0.5814 MB / 1.155 GB, free: 33.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.969e-05/1.002, allocations: 7.984 kB / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/1.002, allocations: 0 / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/1.002, allocations: 0 / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/1.002, allocations: 0 / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.222e-05/1.002, allocations: 0 / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.885e-05/1.003, allocations: 2.594 kB / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/1.003, allocations: 7.422 kB / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/1.003, allocations: 0 / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.975e-05/1.003, allocations: 2.562 kB / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/1.003, allocations: 0 / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/1.003, allocations: 3.938 kB / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/1.003, allocations: 4 kB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/1.003, allocations: 3.938 kB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.768e-05/1.003, allocations: 2.594 kB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.003, allocations: 0 / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.003, allocations: 0 / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.003, allocations: 0 / 1.155 GB, free: 32.99 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.0002132/1.003, allocations: 235.9 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/1.003, allocations: 9.406 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/1.003, allocations: 7.375 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.186e-05/1.003, allocations: 110.5 kB / 1.155 GB, free: 32.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/1.003, allocations: 4.375 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/1.003, allocations: 3.25 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/1.003, allocations: 26.27 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.003, allocations: 192 / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/1.003, allocations: 10.06 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.003, allocations: 0 / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/1.003, allocations: 3.938 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.915e-05/1.003, allocations: 96.36 kB / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.568e-05/1.003, allocations: 18.58 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/1.003, allocations: 7.734 kB / 1.155 GB, free: 32.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/1.003, allocations: 4 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/1.003, allocations: 33.31 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/1.003, allocations: 0 / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/1.003, allocations: 42.22 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/1.004, allocations: 51.41 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.14e-05/1.004, allocations: 93.86 kB / 1.155 GB, free: 32.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-06/1.004, allocations: 25.7 kB / 1.155 GB, free: 32.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.193e-05/1.004, allocations: 82.67 kB / 1.155 GB, free: 32.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.004, allocations: 7.938 kB / 1.155 GB, free: 32.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/1.004, allocations: 12.56 kB / 1.155 GB, free: 32.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.76e-05/1.004, allocations: 315 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/1.004, allocations: 0 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-06/1.004, allocations: 3.031 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/1.004, allocations: 15.02 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.004, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.062e-05/1.004, allocations: 35.48 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.004, allocations: 3.156 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.004, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.004, allocations: 2.906 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/1.004, allocations: 8.031 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/1.004, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/1.004, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/1.004, allocations: 2.562 kB / 1.156 GB, free: 31.64 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 3.692e-05/1.004, allocations: 114.7 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-06/1.004, allocations: 0 / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/1.004, allocations: 9.469 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.004, allocations: 3.938 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.004, allocations: 0 / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.004, allocations: 3.984 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.728e-05/1.004, allocations: 99.89 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.004, allocations: 4 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/1.004, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.004, allocations: 6.25 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/1.004, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.004, allocations: 0 / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.004, allocations: 7.938 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.515e-05/1.004, allocations: 57.83 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/1.004, allocations: 4 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/1.004, allocations: 3.609 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/1.004, allocations: 0 / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/1.004, allocations: 10.91 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/1.004, allocations: 0 / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.233e-05/1.004, allocations: 75.28 kB / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/1.004, allocations: 0 / 1.156 GB, free: 31.22 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001927/1.004, allocations: 0 / 1.156 GB, free: 31.22 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.69e-05/1.004, allocations: 96.44 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.965e-05/1.004, allocations: 2.969 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.004, allocations: 0 / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/1.004, allocations: 10.75 kB / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/1.005, allocations: 0 / 1.156 GB, free: 31.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/1.005, allocations: 88.98 kB / 1.156 GB, free: 31.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.013e-05/1.005, allocations: 58.03 kB / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.909e-06/1.005, allocations: 0 / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/1.005, allocations: 8.5 kB / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.005, allocations: 0 / 1.156 GB, free: 30.95 MB / 1.076 GB Notification: Performance of Templates: time 0.002041/1.007, allocations: 170.5 kB / 1.157 GB, free: 30.89 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.046459157951176]