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.002043/0.002043, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002629/0.002629, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.781 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.573/3.573, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002074/0.002074, allocations: 65.12 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4583, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001918/0.4602, allocations: 0.5754 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.181e-05/0.4603, allocations: 3.938 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.4603, allocations: 4 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.4603, allocations: 3.984 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.4604, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.37e-05/0.4604, allocations: 4 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.4605, allocations: 4 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.4605, allocations: 0 / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.4605, allocations: 0 / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.4606, allocations: 0 / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.4606, allocations: 0 / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-06/0.4606, allocations: 0 / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.4606, allocations: 4 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.4606, allocations: 7.938 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.4607, allocations: 7.969 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4607, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4607, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4607, allocations: 0 / 1.364 GB, free: 12.92 MB / 1.061 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.0003253/0.461, allocations: 238.5 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4611, allocations: 8.031 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.4611, allocations: 4.938 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.4612, allocations: 110.4 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4612, allocations: 384 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.4612, allocations: 384 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.958e-05/0.4613, allocations: 38.2 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4613, allocations: 192 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4613, allocations: 3.938 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4613, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.4613, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.4615, allocations: 105.3 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.4615, allocations: 18.52 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.4615, allocations: 8.953 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.4615, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4616, allocations: 30.56 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.4616, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.4617, allocations: 37.64 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4617, allocations: 55.41 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.4618, allocations: 89.86 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.4618, allocations: 25.7 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4619, allocations: 84.12 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.4619, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.4619, allocations: 18.06 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4621, allocations: 310.8 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-06/0.4621, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.4621, allocations: 12.06 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.4621, allocations: 12.86 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4621, allocations: 0 / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.795e-05/0.4621, allocations: 29.7 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4622, allocations: 8 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4622, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4622, allocations: 3.984 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.4622, allocations: 3.938 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4623, allocations: 7.938 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.4623, allocations: 4.094 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4623, allocations: 0 / 1.366 GB, free: 11.5 MB / 1.061 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 8.314e-05/0.4624, allocations: 105.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-06/0.4624, allocations: 7.984 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.4624, allocations: 3 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4624, allocations: 7.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4624, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4624, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.4625, allocations: 97.31 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4625, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.4625, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4625, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.4625, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4625, allocations: 3.938 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4625, allocations: 3.938 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.197e-05/0.4626, allocations: 57.14 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.4626, allocations: 7.984 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.4626, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.4626, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.4626, allocations: 7.938 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.4626, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.4626, allocations: 79.31 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4626, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001865/0.4628, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 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.0001334/0.463, allocations: 95.25 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.463, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.463, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.463, allocations: 3.938 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.4632, allocations: 7.984 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.4634, allocations: 89.73 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.4635, allocations: 51.36 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.4635, allocations: 4 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.4635, allocations: 7.438 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4635, allocations: 0 / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of Templates: time 0.002272/0.4658, allocations: 160.9 kB / 1.366 GB, free: 10.57 MB / 1.061 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/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.879984073340893]