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.0009694/0.0009694, 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.0009406/0.0009406, allocations: 181.3 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.421/2.421, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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 1.743e-06/1.743e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.355e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001521/0.001545, allocations: 0.5955 MB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 4.984e-05/0.001595, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.00161, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.001635, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.001662, allocations: 0 / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.139e-05/0.001693, allocations: 3.938 kB / 0.8392 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.001747, allocations: 7.984 kB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.001786, allocations: 7.984 kB / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.001821, allocations: 4 kB / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.001845, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.001859, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.001865, allocations: 4 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.001876, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.146e-05/0.001888, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.451e-05/0.001942, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.001944, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.001944, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.001947, allocations: 0 / 0.8392 GB, free: 13.57 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.0001785/0.002126, allocations: 212.8 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.00216, allocations: 16.56 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.00218, allocations: 0.9375 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.281e-05/0.002232, allocations: 101.8 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.002241, allocations: 384 / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.00225, allocations: 4.375 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.711e-05/0.002307, allocations: 26.27 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.002313, allocations: 192 / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.002318, allocations: 384 / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.002323, allocations: 4.312 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-06/0.002332, allocations: 15.92 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.204e-05/0.002394, allocations: 61.38 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.00243, allocations: 22.61 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.002445, allocations: 4.859 kB / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.00245, allocations: 0 / 0.8397 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.002472, allocations: 34.62 kB / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.002473, allocations: 0 / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.635e-05/0.002549, allocations: 33.64 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.002577, allocations: 51.41 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.542e-05/0.002602, allocations: 93.98 kB / 0.8399 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.002611, allocations: 25.7 kB / 0.8399 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.002632, allocations: 84.12 kB / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.00266, allocations: 3.953 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.00268, allocations: 13.72 kB / 0.84 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.002753, allocations: 318.8 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.002758, allocations: 0 / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.002765, allocations: 8 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.002788, allocations: 8.797 kB / 0.8403 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00279, allocations: 0 / 0.8403 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.425e-05/0.002824, allocations: 33.77 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.002838, allocations: 11.98 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.002842, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.002852, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.002894, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.002897, allocations: 0 / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-06/0.002904, allocations: 4 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.002908, allocations: 0 / 0.8404 GB, free: 12.25 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.337e-05/0.002961, allocations: 113.7 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-06/0.002964, allocations: 0 / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.002976, allocations: 7.031 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.002977, allocations: 4 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.002979, allocations: 0 / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.002981, allocations: 0 / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.543e-05/0.003027, allocations: 69.81 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.003027, allocations: 0 / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.003037, allocations: 7.938 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.003037, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.003041, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.003041, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.003042, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.778e-05/0.00309, allocations: 61.08 kB / 0.8406 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-06/0.003096, allocations: 7.984 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-06/0.003101, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-06/0.003105, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.003115, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.003116, allocations: 4 kB / 0.8406 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.482e-06/0.003123, allocations: 4.859 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003123, allocations: 0 / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.758e-05/0.00321, allocations: 0 / 0.8407 GB, free: 11.93 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.276e-05/0.003293, allocations: 80.45 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.103e-05/0.003344, allocations: 8.797 kB / 0.8407 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.003346, allocations: 4 kB / 0.8407 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.003351, allocations: 8.844 kB / 0.8407 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.007e-05/0.003401, allocations: 6.281 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.003591, allocations: 86.28 kB / 0.8408 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.003618, allocations: 55.36 kB / 0.8409 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.00363, allocations: 0 / 0.8409 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.003659, allocations: 47.5 kB / 0.8409 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of SimCode: time 3.41e-07/0.003659, allocations: 4 kB / 0.8409 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.001442/0.005101, allocations: 212.7 kB / 0.8411 GB, free: 11.36 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 -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.1678586467169225]