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.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.001237/0.001237, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001127/0.001127, allocations: 169.5 kB / 24.87 MB, free: 9.246 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.9906/0.9906, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.927/1.927, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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 2.445e-06/2.445e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.987e-05, allocations: 4.562 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001401/0.001431, allocations: 0.5977 MB / 0.8134 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.798e-05/0.001479, allocations: 4.172 kB / 0.8134 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.001498, allocations: 5.25 kB / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.001523, allocations: 0 / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.001549, allocations: 0 / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.181e-05/0.001581, allocations: 2 kB / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.605e-05/0.001637, allocations: 3.938 kB / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.00168, allocations: 0 / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.001714, allocations: 4 kB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.001736, allocations: 3.984 kB / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.001752, allocations: 0.5938 kB / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-06/0.001756, allocations: 0 / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.001769, allocations: 0.8125 kB / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.001782, allocations: 0 / 0.8134 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.371e-05/0.001835, allocations: 4.969 kB / 0.8134 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.001839, allocations: 4 kB / 0.8134 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.92e-07/0.001839, allocations: 0 / 0.8134 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.001844, allocations: 0.5938 kB / 0.8134 GB, free: 0.7773 MB / 0.7605 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.0002203/0.002064, allocations: 341.6 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.002097, allocations: 8.031 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.002118, allocations: 0.9375 kB / 0.8138 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.634e-05/0.002174, allocations: 108.6 kB / 0.8139 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.002186, allocations: 4.938 kB / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.002191, allocations: 1.625 kB / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.002248, allocations: 26.27 kB / 0.8139 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.002255, allocations: 192 / 0.8139 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.00226, allocations: 2.75 kB / 0.8139 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.002265, allocations: 384 / 0.8139 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.002275, allocations: 7.938 kB / 0.8139 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.232e-05/0.002347, allocations: 93.27 kB / 0.814 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.002383, allocations: 35.02 kB / 0.814 GB, free: 60 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.002399, allocations: 8.281 kB / 0.814 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-06/0.002403, allocations: 0 / 0.814 GB, free: 48 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.002437, allocations: 42.16 kB / 0.8141 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.002438, allocations: 0 / 0.8141 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.581e-05/0.002524, allocations: 38.86 kB / 0.8141 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.002553, allocations: 51.41 kB / 0.8142 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.284e-05/0.002585, allocations: 143.8 kB / 0.8143 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.002593, allocations: 25.7 kB / 0.8143 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.002621, allocations: 126.9 kB / 0.8145 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.002645, allocations: 0 / 0.8145 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.00267, allocations: 23.31 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.002846, allocations: 498 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.002853, allocations: 0 / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.002859, allocations: 4 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.002883, allocations: 11.67 kB / 0.815 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.002885, allocations: 1.312 kB / 0.815 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.078e-05/0.002926, allocations: 33.64 kB / 0.815 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.002937, allocations: 9.281 kB / 0.815 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.002941, allocations: 0 / 0.815 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.00295, allocations: 0 / 0.815 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.00299, allocations: 0 / 0.815 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.002993, allocations: 4.531 kB / 0.815 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.003002, allocations: 0.875 kB / 0.815 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.003005, allocations: 0 / 0.815 GB, free: 14.98 MB / 0.7761 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.907e-05/0.003064, allocations: 157.4 kB / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-06/0.003068, allocations: 0 / 0.8152 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.003083, allocations: 11.8 kB / 0.8152 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.003085, allocations: 0 / 0.8152 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.003086, allocations: 0.5312 kB / 0.8152 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.003089, allocations: 1.375 kB / 0.8152 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.272e-05/0.003141, allocations: 105.2 kB / 0.8153 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.003142, allocations: 0 / 0.8153 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.00315, allocations: 4 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.003152, allocations: 5.141 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.003156, allocations: 0 / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003156, allocations: 0 / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.003157, allocations: 0.7188 kB / 0.8153 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.256e-05/0.00322, allocations: 76.31 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.003226, allocations: 4.641 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-06/0.003232, allocations: 0.9062 kB / 0.8154 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-06/0.003235, allocations: 3.938 kB / 0.8154 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.003245, allocations: 4 kB / 0.8154 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.21e-07/0.003246, allocations: 0.8438 kB / 0.8154 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.003272, allocations: 119.2 kB / 0.8155 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.003273, allocations: 1.281 kB / 0.8155 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001101/0.003383, allocations: 0 / 0.8155 GB, free: 14.44 MB / 0.7761 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 7.911e-05/0.003462, allocations: 99.86 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.619e-05/0.003518, allocations: 12.53 kB / 0.8156 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.003519, allocations: 0 / 0.8156 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.003526, allocations: 17.22 kB / 0.8156 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.481e-05/0.003621, allocations: 14.53 kB / 0.8156 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.003799, allocations: 76.09 kB / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.545e-05/0.003824, allocations: 56.3 kB / 0.8158 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.003836, allocations: 3.984 kB / 0.8158 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.003865, allocations: 69.61 kB / 0.8158 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.003866, allocations: 0 / 0.8158 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.001477/0.005343, allocations: 208.7 kB / 0.816 GB, free: 13.84 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] 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","",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.222426539286971]