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.001001/0.001001, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001157/0.001157, allocations: 169 kB / 23.02 MB, free: 1.555 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.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.153/2.153, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.373e-06/1.373e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.811e-05, allocations: 3.062 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001011/0.001029, allocations: 0.5978 MB / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.709e-05/0.001076, allocations: 8.172 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.001091, allocations: 4 kB / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.001121, allocations: 1.062 kB / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/0.001146, allocations: 0 / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.131e-05/0.001178, allocations: 0 / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.001228, allocations: 3.188 kB / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.001271, allocations: 7.922 kB / 0.8788 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.001303, allocations: 4 kB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.936e-05/0.001322, allocations: 1.094 kB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.001334, allocations: 0 / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-06/0.001339, allocations: 0 / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.00135, allocations: 2.219 kB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.001371, allocations: 0 / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.61e-05/0.001427, allocations: 0.6562 kB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00143, allocations: 4 kB / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.001431, allocations: 0 / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.001434, allocations: 0 / 0.8788 GB, free: 5.664 MB / 0.8386 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.0002213/0.001656, allocations: 345.1 kB / 0.8792 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.001691, allocations: 8.031 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.001717, allocations: 3.469 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.199e-05/0.001769, allocations: 104.6 kB / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.001781, allocations: 4.375 kB / 0.8793 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.00179, allocations: 384 / 0.8793 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.855e-05/0.001859, allocations: 26.77 kB / 0.8793 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.001868, allocations: 1.5 kB / 0.8793 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.001875, allocations: 384 / 0.8793 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.001882, allocations: 384 / 0.8793 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.309e-05/0.001895, allocations: 12.64 kB / 0.8793 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.633e-05/0.001981, allocations: 110.2 kB / 0.8794 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.002017, allocations: 31.08 kB / 0.8795 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.002041, allocations: 7.688 kB / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-06/0.002047, allocations: 4 kB / 0.8795 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.002066, allocations: 37.45 kB / 0.8795 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.002067, allocations: 0 / 0.8795 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001007/0.002168, allocations: 41.58 kB / 0.8795 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.002192, allocations: 51.41 kB / 0.8796 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.354e-05/0.002226, allocations: 142.2 kB / 0.8797 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.002233, allocations: 25.7 kB / 0.8798 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.002334, allocations: 126.9 kB / 0.8799 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.002362, allocations: 8.297 kB / 0.8799 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.002383, allocations: 15.38 kB / 0.8799 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.002483, allocations: 0.4924 MB / 0.8804 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.002493, allocations: 4 kB / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.002498, allocations: 0 / 0.8804 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.002525, allocations: 11.69 kB / 0.8804 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.002527, allocations: 0 / 0.8804 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.471e-05/0.002561, allocations: 37.64 kB / 0.8804 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.002573, allocations: 4 kB / 0.8804 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.002577, allocations: 0 / 0.8804 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.00259, allocations: 0 / 0.8804 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.121e-05/0.002641, allocations: 12.09 kB / 0.8804 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.002645, allocations: 0 / 0.8804 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-06/0.002653, allocations: 7.922 kB / 0.8805 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.002657, allocations: 0 / 0.8805 GB, free: 3.816 MB / 0.8386 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.051e-05/0.002707, allocations: 152.6 kB / 0.8806 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-06/0.00271, allocations: 4 kB / 0.8806 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.002728, allocations: 3 kB / 0.8806 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.002729, allocations: 0 / 0.8806 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.002732, allocations: 0 / 0.8806 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.002735, allocations: 3.984 kB / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.719e-05/0.002782, allocations: 112.6 kB / 0.8807 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.002783, allocations: 8 kB / 0.8807 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-06/0.002787, allocations: 0 / 0.8807 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.002789, allocations: 3.984 kB / 0.8807 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.002794, allocations: 0 / 0.8807 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.002795, allocations: 3.938 kB / 0.8807 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.002795, allocations: 0 / 0.8807 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.588e-05/0.002841, allocations: 68.39 kB / 0.8808 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.002845, allocations: 0 / 0.8808 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.002853, allocations: 4 kB / 0.8808 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-06/0.002856, allocations: 3.938 kB / 0.8808 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.002869, allocations: 8.016 kB / 0.8808 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-07/0.00287, allocations: 0 / 0.8808 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.002895, allocations: 119.2 kB / 0.8809 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.002895, allocations: 0 / 0.8809 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001098/0.003005, allocations: 0 / 0.8809 GB, free: 3.262 MB / 0.8386 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 6.151e-05/0.003066, allocations: 103.2 kB / 0.881 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.875e-05/0.003125, allocations: 15.62 kB / 0.881 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.003126, allocations: 0 / 0.881 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.003133, allocations: 11.75 kB / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.395e-05/0.003227, allocations: 4 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.003422, allocations: 88.83 kB / 0.8811 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.003451, allocations: 51.36 kB / 0.8812 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.317e-06/0.00346, allocations: 0 / 0.8812 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.003477, allocations: 8.5 kB / 0.8812 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.003477, allocations: 0 / 0.8812 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of Templates: time 0.001404/0.004881, allocations: 192.8 kB / 0.8814 GB, free: 2.73 MB / 0.8386 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.592804616782814]