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.001075/0.001075, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001479/0.001479, allocations: 173 kB / 23.49 MB, free: 1.062 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.9531/0.9531, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.054/2.054, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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 2.755e-06/2.755e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.792e-05, allocations: 3.25 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001323/0.001351, allocations: 0.5956 MB / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.965e-05/0.001401, allocations: 8.125 kB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.001418, allocations: 0.75 kB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.001445, allocations: 0 / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.001472, allocations: 1.516 kB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.814e-05/0.00151, allocations: 0 / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.00157, allocations: 5.328 kB / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.001612, allocations: 3.984 kB / 0.8788 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.001644, allocations: 0.8438 kB / 0.8788 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.931e-05/0.001663, allocations: 0 / 0.8788 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.001678, allocations: 1.25 kB / 0.8788 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.001681, allocations: 0.9844 kB / 0.8788 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.001693, allocations: 4 kB / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.851e-05/0.001711, allocations: 1.031 kB / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.735e-05/0.001768, allocations: 0 / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.00177, allocations: 0 / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.001771, allocations: 2.219 kB / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.001775, allocations: 0 / 0.8788 GB, free: 6.023 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.0002275/0.002002, allocations: 340.4 kB / 0.8792 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.002041, allocations: 9.094 kB / 0.8792 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.00207, allocations: 8.922 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.481e-05/0.002125, allocations: 104.6 kB / 0.8793 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.002136, allocations: 5.406 kB / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.002144, allocations: 384 / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.002218, allocations: 30.27 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.002224, allocations: 0.9688 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.002232, allocations: 1.141 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.002239, allocations: 2 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.153e-05/0.002251, allocations: 3.938 kB / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.01e-05/0.002341, allocations: 112.6 kB / 0.8794 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.002377, allocations: 27 kB / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.002401, allocations: 16.89 kB / 0.8795 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.002407, allocations: 0 / 0.8795 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.002433, allocations: 34.7 kB / 0.8795 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.002433, allocations: 0 / 0.8795 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.002543, allocations: 34.3 kB / 0.8795 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.002572, allocations: 55.41 kB / 0.8796 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.696e-05/0.002609, allocations: 146.8 kB / 0.8797 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.076e-06/0.002617, allocations: 27.3 kB / 0.8798 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.002644, allocations: 126.9 kB / 0.8799 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.002671, allocations: 4.297 kB / 0.8799 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.002693, allocations: 19.38 kB / 0.8799 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.002799, allocations: 0.4952 MB / 0.8804 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.002809, allocations: 4 kB / 0.8804 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.002814, allocations: 0 / 0.8804 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.002843, allocations: 11.69 kB / 0.8804 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002844, allocations: 0 / 0.8804 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.797e-05/0.002882, allocations: 33.7 kB / 0.8804 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.002895, allocations: 8 kB / 0.8804 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.0029, allocations: 1.469 kB / 0.8804 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.002911, allocations: 0 / 0.8804 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/0.00296, allocations: 0 / 0.8804 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.002966, allocations: 3.938 kB / 0.8805 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-06/0.002973, allocations: 4.531 kB / 0.8805 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.002978, allocations: 5.656 kB / 0.8805 GB, free: 4.184 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 6.337e-05/0.003041, allocations: 156.6 kB / 0.8806 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-06/0.003045, allocations: 0 / 0.8806 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.003062, allocations: 6.984 kB / 0.8806 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.003063, allocations: 0.9688 kB / 0.8806 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.003067, allocations: 4 kB / 0.8806 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.003069, allocations: 0 / 0.8806 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.863e-05/0.003118, allocations: 109.1 kB / 0.8807 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003119, allocations: 224 / 0.8807 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.003126, allocations: 8 kB / 0.8807 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.003129, allocations: 4 kB / 0.8807 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.003134, allocations: 0 / 0.8807 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.003135, allocations: 3.984 kB / 0.8807 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.003137, allocations: 0 / 0.8807 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.67e-05/0.003193, allocations: 68.39 kB / 0.8808 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.003197, allocations: 3.938 kB / 0.8808 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.003205, allocations: 0 / 0.8808 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-06/0.003208, allocations: 3.938 kB / 0.8808 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.00322, allocations: 3.984 kB / 0.8808 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.003221, allocations: 4.031 kB / 0.8808 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.003248, allocations: 123.2 kB / 0.8809 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003248, allocations: 0 / 0.8809 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000118/0.003366, allocations: 0 / 0.8809 GB, free: 3.625 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 8.593e-05/0.003452, allocations: 99.19 kB / 0.881 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.003519, allocations: 11.69 kB / 0.881 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00352, allocations: 0 / 0.881 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/0.003527, allocations: 11.69 kB / 0.8811 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.645e-05/0.003624, allocations: 4.125 kB / 0.8811 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.003841, allocations: 92.75 kB / 0.8811 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.751e-05/0.003868, allocations: 51.36 kB / 0.8812 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.022e-05/0.003879, allocations: 0 / 0.8812 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.003897, allocations: 12.5 kB / 0.8812 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.003897, allocations: 0 / 0.8812 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of Templates: time 0.001535/0.005432, allocations: 192.9 kB / 0.8814 GB, free: 3.094 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.427463158965111]