Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.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.001073/0.001073, 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.001709/0.001709, allocations: 169 kB / 23.02 MB, free: 1.547 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.103/2.103, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.684e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001237/0.001264, allocations: 0.6201 MB / 0.8788 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.001492, allocations: 55.8 kB / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.00151, allocations: 1.094 kB / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.001532, allocations: 0.6562 kB / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-06/0.00154, allocations: 0 / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.001962, allocations: 25.5 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.458e-05/0.002017, allocations: 8.75 kB / 0.8789 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.002057, allocations: 4 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.002088, allocations: 10.91 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.002137, allocations: 11.97 kB / 0.8789 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.00215, allocations: 0.6562 kB / 0.8789 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.002221, allocations: 15.92 kB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.002236, allocations: 0.875 kB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.002253, allocations: 3.297 kB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.62e-05/0.002349, allocations: 24.72 kB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.002352, allocations: 0 / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002353, allocations: 0 / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.002359, allocations: 4.656 kB / 0.879 GB, free: 5.488 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003296/0.002688, allocations: 348.4 kB / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.002731, allocations: 8.031 kB / 0.8793 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.002773, allocations: 13.89 kB / 0.8794 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.966e-05/0.002833, allocations: 104.6 kB / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.002845, allocations: 6.906 kB / 0.8795 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.002855, allocations: 8.359 kB / 0.8795 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.002972, allocations: 84.67 kB / 0.8795 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.00298, allocations: 4.125 kB / 0.8795 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.002989, allocations: 1.719 kB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.002998, allocations: 4.375 kB / 0.8796 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.003022, allocations: 11.88 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.003158, allocations: 155.5 kB / 0.8797 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.003247, allocations: 140.2 kB / 0.8798 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.003282, allocations: 50.48 kB / 0.8799 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.003411, allocations: 4 kB / 0.8799 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.003437, allocations: 41.39 kB / 0.8799 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.003439, allocations: 0 / 0.8799 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.000162/0.003601, allocations: 73.98 kB / 0.88 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.003657, allocations: 162.3 kB / 0.8802 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.827e-05/0.003696, allocations: 146.2 kB / 0.8803 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.003706, allocations: 25.7 kB / 0.8803 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.003732, allocations: 126.9 kB / 0.8805 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.003766, allocations: 19.88 kB / 0.8805 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.003797, allocations: 27.36 kB / 0.8805 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.00391, allocations: 496.1 kB / 0.881 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.003928, allocations: 8 kB / 0.881 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.003961, allocations: 54.36 kB / 0.881 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.462e-05/0.004026, allocations: 62.38 kB / 0.8811 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004028, allocations: 0 / 0.8811 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.744e-05/0.004106, allocations: 69.56 kB / 0.8812 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.00412, allocations: 8 kB / 0.8812 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.004126, allocations: 3.938 kB / 0.8812 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.00414, allocations: 0 / 0.8812 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.004205, allocations: 12.16 kB / 0.8812 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.004211, allocations: 4 kB / 0.8812 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.889e-05/0.00423, allocations: 3.938 kB / 0.8812 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.004239, allocations: 7.984 kB / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.317e-05/0.004302, allocations: 156.6 kB / 0.8813 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.004314, allocations: 8 kB / 0.8813 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.004461, allocations: 92.53 kB / 0.8814 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.004466, allocations: 4 kB / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.00447, allocations: 0 / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.004474, allocations: 4 kB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.776e-05/0.004562, allocations: 128.5 kB / 0.8816 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.004564, allocations: 4.125 kB / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.004604, allocations: 19.92 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.004607, allocations: 4 kB / 0.8816 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.004614, allocations: 0 / 0.8816 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.004617, allocations: 7.938 kB / 0.8816 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004618, allocations: 4.156 kB / 0.8816 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.004729, allocations: 159 kB / 0.8818 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.004734, allocations: 0 / 0.8818 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.004746, allocations: 8 kB / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.00476, allocations: 0 / 0.8818 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.004781, allocations: 15.86 kB / 0.8818 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.004785, allocations: 4 kB / 0.8818 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.004812, allocations: 119.2 kB / 0.8819 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.004812, allocations: 0 / 0.8819 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001468/0.004958, allocations: 12 kB / 0.8819 GB, free: 2.047 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 0.0001173/0.005076, allocations: 107.2 kB / 0.882 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.005176, allocations: 39.61 kB / 0.882 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.005178, allocations: 0 / 0.882 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.005204, allocations: 35.55 kB / 0.8821 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.005317, allocations: 8.688 kB / 0.8821 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.005557, allocations: 161.6 kB / 0.8822 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.005591, allocations: 63.34 kB / 0.8823 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.00562, allocations: 8 kB / 0.8823 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.005642, allocations: 12.5 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.005642, allocations: 0 / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of Templates: time 0.002359/0.008001, allocations: 0.6419 MB / 0.883 GB, free: 0.9062 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.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.322571590077132]