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.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.001319/0.001319, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001671/0.001671, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9858/0.9858, allocations: 177.2 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.804/1.804, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.185e-06/2.185e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.397e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001441/0.001475, allocations: 0.5936 MB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 7.126e-05/0.001546, allocations: 4.188 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.001566, allocations: 0.7188 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.001601, allocations: 4 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.001637, allocations: 3.188 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.713e-05/0.001674, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.281e-05/0.001737, allocations: 3.938 kB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.001784, allocations: 0 / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.00182, allocations: 4 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.266e-05/0.001842, allocations: 3.984 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.001862, allocations: 3.984 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.001866, allocations: 3.938 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.001879, allocations: 1.031 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.001898, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.452e-05/0.001962, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.001965, allocations: 0.5938 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.001966, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.001971, allocations: 5.281 kB / 0.7878 GB, free: 11.83 MB / 0.7448 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.0002635/0.002235, allocations: 336.4 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.002275, allocations: 12.06 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.002309, allocations: 2.469 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.221e-05/0.002371, allocations: 108.6 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.002382, allocations: 384 / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.00239, allocations: 4.375 kB / 0.7882 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.002473, allocations: 27.73 kB / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.00248, allocations: 192 / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.002488, allocations: 384 / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.002495, allocations: 384 / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.002511, allocations: 14 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.921e-05/0.00261, allocations: 108.6 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.00265, allocations: 27.09 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.002674, allocations: 7.688 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.002681, allocations: 0 / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.002702, allocations: 41.97 kB / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.555e-06/0.002704, allocations: 8.641 kB / 0.7884 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.002824, allocations: 38.14 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.002856, allocations: 52.97 kB / 0.7885 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.945e-05/0.002895, allocations: 142.2 kB / 0.7887 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.002905, allocations: 25.7 kB / 0.7887 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.002934, allocations: 126.9 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.002966, allocations: 0 / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.002988, allocations: 20 kB / 0.7888 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.003109, allocations: 497 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.00312, allocations: 0 / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.003127, allocations: 8.672 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.003158, allocations: 12.28 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00316, allocations: 0 / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.05e-05/0.003211, allocations: 43.02 kB / 0.7894 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.003225, allocations: 4 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.003229, allocations: 0 / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.003241, allocations: 1.594 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.003302, allocations: 4 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.003308, allocations: 0 / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.003319, allocations: 3.938 kB / 0.7894 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.003324, allocations: 0 / 0.7894 GB, free: 9.996 MB / 0.7448 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 6.905e-05/0.003393, allocations: 153.4 kB / 0.7895 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.003399, allocations: 8.859 kB / 0.7895 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.003419, allocations: 3 kB / 0.7895 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.003421, allocations: 0.8438 kB / 0.7895 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.003425, allocations: 0 / 0.7895 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.003428, allocations: 2.062 kB / 0.7895 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.352e-05/0.003492, allocations: 112.6 kB / 0.7896 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.003493, allocations: 0 / 0.7896 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-06/0.003502, allocations: 4 kB / 0.7896 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.003504, allocations: 0 / 0.7896 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.003512, allocations: 0.5625 kB / 0.7896 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.003512, allocations: 0 / 0.7896 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.003514, allocations: 2.531 kB / 0.7897 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.95e-05/0.003573, allocations: 80.27 kB / 0.7897 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-06/0.003578, allocations: 0 / 0.7897 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.003585, allocations: 3.938 kB / 0.7897 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-06/0.00359, allocations: 4 kB / 0.7897 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.003608, allocations: 0 / 0.7897 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-07/0.003609, allocations: 1.75 kB / 0.7897 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.003647, allocations: 123.2 kB / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003647, allocations: 0 / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000106/0.003753, allocations: 0 / 0.7899 GB, free: 9.441 MB / 0.7448 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 9.146e-05/0.003844, allocations: 103.7 kB / 0.79 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.322e-05/0.003928, allocations: 16.19 kB / 0.79 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.00393, allocations: 1.594 kB / 0.79 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.003936, allocations: 7.688 kB / 0.79 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.004036, allocations: 4 kB / 0.79 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.004308, allocations: 93.06 kB / 0.7901 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.004343, allocations: 51.36 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.004357, allocations: 0.6562 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.004378, allocations: 8.5 kB / 0.7901 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of SimCode: time 1.332e-06/0.004379, allocations: 0.9062 kB / 0.7901 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of Templates: time 0.001779/0.006159, allocations: 192.5 kB / 0.7903 GB, free: 8.914 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.95826209615916]