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.001004/0.001004, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009949/0.0009949, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.009/1.009, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.48/2.48, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.19e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001934/0.001966, allocations: 0.6432 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 5.655e-05/0.002022, allocations: 4 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.00204, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002065, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.9e-05/0.002094, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-05/0.00213, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.002183, allocations: 0 / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.002227, allocations: 4 kB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.002265, allocations: 3.984 kB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.653e-05/0.002292, allocations: 7.984 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.002304, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-06/0.002309, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.002322, allocations: 3.938 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.002337, allocations: 4 kB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.231e-05/0.002399, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.002403, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002403, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002407, allocations: 0 / 0.8393 GB, free: 13.45 MB / 0.8073 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.0001926/0.0026, allocations: 212.7 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.002638, allocations: 8.625 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.00266, allocations: 8.938 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.002726, allocations: 105.8 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.002735, allocations: 384 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-06/0.00274, allocations: 384 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.692e-05/0.002807, allocations: 34.27 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.002814, allocations: 192 / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.00282, allocations: 384 / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.002826, allocations: 384 / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-06/0.002834, allocations: 3.938 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.092e-05/0.002905, allocations: 61.38 kB / 0.8397 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.977e-05/0.002945, allocations: 22.52 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.002962, allocations: 12.94 kB / 0.8398 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-06/0.002967, allocations: 0 / 0.8398 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.002989, allocations: 34.55 kB / 0.8398 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.002989, allocations: 4 kB / 0.8398 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.081e-05/0.00308, allocations: 33.64 kB / 0.8398 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.003116, allocations: 55.41 kB / 0.8399 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.071e-05/0.003147, allocations: 89.86 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.003156, allocations: 25.7 kB / 0.84 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.00318, allocations: 80.14 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.003209, allocations: 8.078 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.00323, allocations: 13.72 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.003319, allocations: 314.8 kB / 0.8404 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-06/0.003326, allocations: 0 / 0.8404 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.003333, allocations: 3.984 kB / 0.8404 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.003358, allocations: 12.8 kB / 0.8404 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.00336, allocations: 0 / 0.8404 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.059e-05/0.003401, allocations: 33.64 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.003414, allocations: 8 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.003421, allocations: 4.094 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.003437, allocations: 0 / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.382e-05/0.00349, allocations: 0 / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.003495, allocations: 3.984 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-06/0.003504, allocations: 0 / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.003508, allocations: 4 kB / 0.8405 GB, free: 12.12 MB / 0.8073 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 5.539e-05/0.003563, allocations: 113.8 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-06/0.003566, allocations: 0 / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.003583, allocations: 7 kB / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.003585, allocations: 0 / 0.8406 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.003587, allocations: 8 kB / 0.8406 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.00359, allocations: 0 / 0.8406 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.909e-05/0.003639, allocations: 61.84 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.00364, allocations: 0 / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-06/0.003646, allocations: 4 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.003647, allocations: 0 / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.003651, allocations: 0 / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.003653, allocations: 4 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.003655, allocations: 3.984 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.53e-05/0.00371, allocations: 65 kB / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.003715, allocations: 0 / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-06/0.003721, allocations: 4.031 kB / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-06/0.003724, allocations: 0 / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.003736, allocations: 3.984 kB / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-06/0.003737, allocations: 0 / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.175e-06/0.003745, allocations: 8.859 kB / 0.8407 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.003745, allocations: 0 / 0.8407 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.938e-05/0.003835, allocations: 0 / 0.8407 GB, free: 11.8 MB / 0.8073 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 8.956e-05/0.003924, allocations: 72.42 kB / 0.8408 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.629e-05/0.003981, allocations: 12.86 kB / 0.8408 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.003985, allocations: 4 kB / 0.8408 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.003991, allocations: 12.8 kB / 0.8408 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.677e-05/0.004048, allocations: 7.875 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.00424, allocations: 86.27 kB / 0.8409 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.972e-05/0.00427, allocations: 55.36 kB / 0.841 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.00428, allocations: 0 / 0.841 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.004309, allocations: 47.38 kB / 0.841 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.004309, allocations: 0 / 0.841 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.001543/0.005852, allocations: 207.8 kB / 0.8412 GB, free: 11.24 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.189695393666625]