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.001426/0.001426, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.001879/0.001879, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.948/1.948, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.314e-06/2.314e-06, allocations: 0 / 0.8121 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.954e-05, allocations: 6.25 kB / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001399/0.001428, allocations: 0.5941 MB / 0.8126 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.728e-05/0.001475, allocations: 4.781 kB / 0.8126 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.001494, allocations: 0 / 0.8126 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.001517, allocations: 0.5 kB / 0.8126 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.001544, allocations: 0.8438 kB / 0.8126 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.215e-05/0.001577, allocations: 0 / 0.8126 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.001621, allocations: 7.938 kB / 0.8127 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.001654, allocations: 1.594 kB / 0.8127 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.001689, allocations: 0 / 0.8127 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.059e-05/0.001709, allocations: 0 / 0.8127 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.001721, allocations: 3.984 kB / 0.8127 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-06/0.001725, allocations: 1.031 kB / 0.8127 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.001735, allocations: 4 kB / 0.8127 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.001749, allocations: 0 / 0.8127 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 4.879e-05/0.001797, allocations: 4.781 kB / 0.8127 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.001801, allocations: 0 / 0.8127 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.263e-06/0.001802, allocations: 1.688 kB / 0.8127 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.001806, allocations: 0 / 0.8127 GB, free: 0.8086 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.0001901/0.001996, allocations: 340.4 kB / 0.813 GB, free: 448 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.002032, allocations: 12.03 kB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.002051, allocations: 2.469 kB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.27e-05/0.002104, allocations: 104.6 kB / 0.8131 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.002112, allocations: 4.312 kB / 0.8131 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.002117, allocations: 384 / 0.8131 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.418e-05/0.002182, allocations: 31.64 kB / 0.8131 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.002189, allocations: 192 / 0.8131 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-06/0.002194, allocations: 384 / 0.8131 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.0022, allocations: 384 / 0.8131 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.045e-05/0.002211, allocations: 9.672 kB / 0.8132 GB, free: 256 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.643e-05/0.002287, allocations: 97.27 kB / 0.8132 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 2.976e-05/0.002317, allocations: 27 kB / 0.8133 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.002332, allocations: 11.78 kB / 0.8133 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.002337, allocations: 5.125 kB / 0.8133 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.002355, allocations: 33.39 kB / 0.8133 GB, free: 28 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.002356, allocations: 0 / 0.8133 GB, free: 28 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 8.995e-05/0.002446, allocations: 31.52 kB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.002467, allocations: 59.39 kB / 0.8134 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.992e-05/0.002497, allocations: 142.2 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.002505, allocations: 25.7 kB / 0.8136 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.002527, allocations: 129.4 kB / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.002547, allocations: 0 / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.002569, allocations: 31.3 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.002657, allocations: 496.1 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-06/0.002661, allocations: 0 / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.002665, allocations: 0 / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.758e-05/0.002682, allocations: 12.41 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.002684, allocations: 0.5312 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.776e-05/0.002711, allocations: 31.36 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.002722, allocations: 7.984 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.002727, allocations: 7.984 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.002737, allocations: 0 / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.64e-05/0.002773, allocations: 0 / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.002775, allocations: 4.594 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-06/0.002782, allocations: 1.375 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-06/0.002785, allocations: 0 / 0.8143 GB, free: 15 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 4.756e-05/0.002833, allocations: 160.5 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-06/0.002835, allocations: 1.156 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.00285, allocations: 3 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.00285, allocations: 0 / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.002852, allocations: 1.125 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.002854, allocations: 0 / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.08e-05/0.002894, allocations: 105.1 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.002895, allocations: 0.75 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-06/0.0029, allocations: 4 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.002901, allocations: 0.5938 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.002904, allocations: 4.844 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.002905, allocations: 4 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.002906, allocations: 0 / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.987e-05/0.002946, allocations: 74.23 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.002952, allocations: 7.984 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-06/0.002957, allocations: 0 / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-06/0.00296, allocations: 0 / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-06/0.002968, allocations: 0.6562 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-07/0.002969, allocations: 0 / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.243e-05/0.002991, allocations: 121.6 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.002991, allocations: 0 / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 9.936e-05/0.00309, allocations: 4 kB / 0.8147 GB, free: 14.47 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.724e-05/0.003168, allocations: 91.25 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.387e-05/0.003212, allocations: 13.53 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.003213, allocations: 0 / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.003218, allocations: 11.69 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.559e-05/0.003304, allocations: 11.92 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001513/0.003455, allocations: 84.56 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.166e-05/0.003477, allocations: 51.92 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.026e-05/0.003487, allocations: 3.984 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.003513, allocations: 71.02 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of SimCode: time 3.41e-07/0.003514, allocations: 0 / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.001174/0.004687, allocations: 206.7 kB / 0.8152 GB, free: 13.88 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.234397733118385]