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.001649/0.001649, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001655/0.001655, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.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 3.341/3.341, allocations: 0.4899 GB / 0.7915 GB, free: 33.14 MB / 0.6231 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.002089/0.002089, allocations: 72.06 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4411, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002609/0.4437, allocations: 0.5792 MB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.272e-05/0.4437, allocations: 3.938 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.4437, allocations: 4 kB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.4438, allocations: 0 / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.4438, allocations: 0 / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.878e-05/0.4438, allocations: 0 / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.4439, allocations: 7.984 kB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.444, allocations: 0 / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.842e-05/0.444, allocations: 0 / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.811e-05/0.444, allocations: 3.984 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.4441, allocations: 0 / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-06/0.4441, allocations: 4 kB / 1.322 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.4441, allocations: 4 kB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.4441, allocations: 4 kB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.693e-05/0.4442, allocations: 0 / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4442, allocations: 0 / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4442, allocations: 0 / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4442, allocations: 0 / 1.322 GB, free: 2.172 MB / 1.014 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.0004003/0.4446, allocations: 311.6 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4447, allocations: 15.92 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.4447, allocations: 0.9375 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.4448, allocations: 164.4 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4448, allocations: 4.312 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.4449, allocations: 4.375 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.445, allocations: 30.27 kB / 1.322 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.445, allocations: 192 / 1.322 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.445, allocations: 3.938 kB / 1.322 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.445, allocations: 4 kB / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.445, allocations: 0 / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.4452, allocations: 149.6 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.4453, allocations: 26.55 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.4453, allocations: 8.859 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.4453, allocations: 0 / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4453, allocations: 34.62 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4453, allocations: 4 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.4455, allocations: 33.64 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.4455, allocations: 55.39 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.4456, allocations: 93.98 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4456, allocations: 25.7 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.4457, allocations: 80.14 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4457, allocations: 7.953 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.4457, allocations: 13.72 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4459, allocations: 318.7 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.4459, allocations: 0 / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.4459, allocations: 0 / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.4459, allocations: 12.92 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4459, allocations: 0 / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.455e-05/0.446, allocations: 37.69 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.446, allocations: 8 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.446, allocations: 0 / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.446, allocations: 7.922 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.4461, allocations: 0 / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4461, allocations: 0 / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.4461, allocations: 7.938 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.4461, allocations: 0 / 1.323 GB, free: 0.5117 MB / 1.014 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 9.304e-05/0.4462, allocations: 113.8 kB / 1.323 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.4462, allocations: 0 / 1.323 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.4462, allocations: 7.062 kB / 1.323 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4462, allocations: 0 / 1.323 GB, free: 392 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4462, allocations: 4 kB / 1.323 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4462, allocations: 0 / 1.323 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.4464, allocations: 145.7 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4464, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.4464, allocations: 0 / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4464, allocations: 8 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4464, allocations: 7.938 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4464, allocations: 0 / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4464, allocations: 0 / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.92e-05/0.4465, allocations: 53.12 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.4466, allocations: 77.11 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.4466, allocations: 7.938 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.4466, allocations: 0 / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.4466, allocations: 8.078 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4466, allocations: 4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.4467, allocations: 75.28 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4467, allocations: 0 / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001804/0.4468, allocations: 0 / 1.324 GB, free: 15.91 MB / 1.029 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.0001907/0.447, allocations: 103.2 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.501e-05/0.4471, allocations: 4 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4471, allocations: 4.062 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.4471, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.4473, allocations: 6.031 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.4476, allocations: 85.02 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4479, allocations: 0.6844 MB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.356e-05/0.4479, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.4479, allocations: 7.438 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4479, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Templates: time 0.002502/0.4504, allocations: 173 kB / 1.325 GB, free: 14.79 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.477548310998827]