Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 188.5 kB / 22.23 MB, free: 5.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7646 GB, free: 9.891 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.91 kB / 1.11 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002564/1.033, allocations: 0.5889 MB / 1.275 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 5.668e-05/1.033, allocations: 0 / 1.275 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/1.033, allocations: 4 kB / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/1.033, allocations: 0 / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/1.033, allocations: 0 / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.262e-05/1.033, allocations: 0 / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.426e-05/1.033, allocations: 0 / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/1.034, allocations: 4 kB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/1.034, allocations: 11.92 kB / 1.275 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.312e-05/1.034, allocations: 4 kB / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/1.034, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-06/1.034, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/1.034, allocations: 0 / 1.275 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/1.034, allocations: 4 kB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.574e-05/1.034, allocations: 3.984 kB / 1.275 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.034, allocations: 4 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/1.034, allocations: 0 / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.034, allocations: 0 / 1.275 GB, free: 3.602 MB / 0.9669 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.0003405/1.034, allocations: 230.4 kB / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.034, allocations: 16.06 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/1.034, allocations: 4.875 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.034, allocations: 110.5 kB / 1.275 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.034, allocations: 384 / 1.275 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/1.034, allocations: 4.375 kB / 1.275 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.034, allocations: 34.25 kB / 1.275 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.034, allocations: 192 / 1.275 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.034, allocations: 3.938 kB / 1.275 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.034, allocations: 0 / 1.275 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/1.034, allocations: 4 kB / 1.275 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/1.035, allocations: 116.8 kB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.595e-05/1.035, allocations: 26.45 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/1.035, allocations: 8.953 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/1.035, allocations: 0 / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.035, allocations: 34.55 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.035, allocations: 0 / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001728/1.035, allocations: 41.64 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/1.035, allocations: 55.34 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/1.035, allocations: 89.86 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/1.035, allocations: 25.7 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/1.035, allocations: 84.14 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/1.035, allocations: 3.656 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/1.035, allocations: 13.72 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.035, allocations: 315 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/1.035, allocations: 0 / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/1.035, allocations: 0 / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/1.035, allocations: 16.84 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.035, allocations: 0 / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.934e-05/1.035, allocations: 29.7 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.035, allocations: 9.719 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.035, allocations: 0 / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.035, allocations: 7.875 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/1.036, allocations: 4.094 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.036, allocations: 4 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/1.036, allocations: 0 / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/1.036, allocations: 4 kB / 1.276 GB, free: 2.148 MB / 0.9669 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.849e-05/1.036, allocations: 105.8 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/1.036, allocations: 3.984 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/1.036, allocations: 6.938 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.036, allocations: 0 / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.036, allocations: 0 / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.036, allocations: 4 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/1.036, allocations: 120.8 kB / 1.276 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.036, allocations: 0 / 1.276 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/1.036, allocations: 3.938 kB / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/1.036, allocations: 0 / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/1.036, allocations: 7.938 kB / 1.276 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.036, allocations: 7.922 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.036, allocations: 0 / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/1.036, allocations: 57.08 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/1.036, allocations: 4 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/1.036, allocations: 7.938 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-06/1.036, allocations: 0 / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/1.036, allocations: 3.984 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.036, allocations: 0 / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.908e-05/1.036, allocations: 75.28 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/1.036, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002035/1.036, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 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.0001483/1.036, allocations: 99.28 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.913e-05/1.036, allocations: 4 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.036, allocations: 0 / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/1.036, allocations: 4 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/1.037, allocations: 2.406 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/1.037, allocations: 93.44 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/1.037, allocations: 0.673 MB / 1.277 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.417e-05/1.037, allocations: 4 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/1.037, allocations: 7.438 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/1.037, allocations: 0 / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of Templates: time 0.002696/1.04, allocations: 180.9 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.216606221161783]