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.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.001597/0.001597, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001692/0.001692, allocations: 192.5 kB / 22.11 MB, free: 5.152 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.541/1.541, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.304/3.304, allocations: 495.8 MB / 0.783 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 64.61 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4205, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002503/0.423, allocations: 0.5815 MB / 1.307 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 5.77e-05/0.423, allocations: 4 kB / 1.307 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.423, allocations: 4 kB / 1.307 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.4231, allocations: 0 / 1.307 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.825e-05/0.4231, allocations: 0 / 1.307 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.771e-05/0.4231, allocations: 0 / 1.307 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.4232, allocations: 4 kB / 1.307 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.408e-05/0.4233, allocations: 3.984 kB / 1.307 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.4233, allocations: 0 / 1.307 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.346e-05/0.4233, allocations: 7.875 kB / 1.307 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.4233, allocations: 0 / 1.307 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-06/0.4233, allocations: 0 / 1.307 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.4233, allocations: 0 / 1.307 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.4234, allocations: 8 kB / 1.307 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.4234, allocations: 3.984 kB / 1.307 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.4235, allocations: 4 kB / 1.307 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4235, allocations: 0 / 1.307 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4235, allocations: 0 / 1.307 GB, free: 1.16 MB / 0.9981 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.0003182/0.4238, allocations: 234.4 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4238, allocations: 8.031 kB / 1.308 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.4239, allocations: 4.922 kB / 1.308 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.424, allocations: 110.5 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.424, allocations: 8.312 kB / 1.308 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.424, allocations: 384 / 1.308 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.532e-05/0.4241, allocations: 30.27 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4241, allocations: 192 / 1.308 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4241, allocations: 7.938 kB / 1.308 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4241, allocations: 0 / 1.308 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.4242, allocations: 7.938 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.4243, allocations: 112.8 kB / 1.308 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/0.4244, allocations: 26.59 kB / 1.308 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.4244, allocations: 8.859 kB / 1.308 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4244, allocations: 4.062 kB / 1.308 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4245, allocations: 30.56 kB / 1.308 GB, free: 464 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4245, allocations: 0 / 1.308 GB, free: 464 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.4246, allocations: 37.58 kB / 1.308 GB, free: 420 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.4247, allocations: 55.34 kB / 1.308 GB, free: 352 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.4247, allocations: 93.98 kB / 1.308 GB, free: 248 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4247, allocations: 25.7 kB / 1.308 GB, free: 216 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.4248, allocations: 80.14 kB / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4248, allocations: 4 kB / 1.308 GB, free: 128 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.4248, allocations: 18.11 kB / 1.308 GB, free: 104 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.425, allocations: 310.8 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.425, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.425, allocations: 4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.4251, allocations: 8.922 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4251, allocations: 0 / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.914e-05/0.4251, allocations: 41.64 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4252, allocations: 4 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4252, allocations: 0 / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4252, allocations: 3.938 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.4252, allocations: 4 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4252, allocations: 3.984 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.4253, allocations: 0 / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4253, allocations: 4.031 kB / 1.309 GB, free: 15.71 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 0.0001067/0.4254, allocations: 110.6 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.4254, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.4254, allocations: 10.94 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4254, allocations: 0 / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4254, allocations: 0 / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4254, allocations: 0 / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.4255, allocations: 116.8 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4255, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.4256, allocations: 4 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4256, allocations: 7.938 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4256, allocations: 3.938 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4256, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4256, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.4257, allocations: 61.08 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.4257, allocations: 11.97 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4257, allocations: 3.938 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.4257, allocations: 8.031 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.4257, allocations: 3.938 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4257, allocations: 4 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.4258, allocations: 79.28 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.4258, allocations: 0 / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001876/0.426, allocations: 0 / 1.309 GB, free: 15.22 MB / 1.014 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.0001655/0.4261, allocations: 95.25 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.83e-05/0.4262, allocations: 11.94 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4262, allocations: 0 / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.4262, allocations: 0 / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.4264, allocations: 1.562 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.4267, allocations: 93.52 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4271, allocations: 0.669 MB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.371e-05/0.4271, allocations: 0 / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.4271, allocations: 7.438 kB / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.4271, allocations: 0 / 1.31 GB, free: 14.28 MB / 1.014 GB Notification: Performance of Templates: time 0.002601/0.4297, allocations: 184.9 kB / 1.31 GB, free: 14.1 MB / 1.014 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.491187821142375]