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.001045/0.001045, 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.0009595/0.0009595, allocations: 173 kB / 23.49 MB, free: 1.059 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.609 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.14/2.14, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.242e-06/1.242e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.474e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001027/0.001041, allocations: 0.627 MB / 0.8789 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.001247, allocations: 56.56 kB / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.001267, allocations: 3.969 kB / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.001284, allocations: 0.7656 kB / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-06/0.001291, allocations: 0 / 0.8789 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.001536, allocations: 23.91 kB / 0.8789 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.987e-05/0.001586, allocations: 8.969 kB / 0.8789 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.001624, allocations: 4 kB / 0.879 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.001655, allocations: 13.08 kB / 0.879 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.001699, allocations: 7.984 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.001713, allocations: 0 / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.00178, allocations: 16.69 kB / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.001793, allocations: 0.875 kB / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.001811, allocations: 12.36 kB / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.625e-05/0.001887, allocations: 17.03 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.001889, allocations: 0 / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00189, allocations: 0 / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.001896, allocations: 5.062 kB / 0.879 GB, free: 5.809 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.0002922/0.002189, allocations: 348.4 kB / 0.8794 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.002223, allocations: 13.09 kB / 0.8794 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.002266, allocations: 9.234 kB / 0.8794 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.002463, allocations: 108.6 kB / 0.8795 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.002475, allocations: 1.438 kB / 0.8795 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.002484, allocations: 4.375 kB / 0.8795 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.002597, allocations: 88.61 kB / 0.8796 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.002605, allocations: 3.625 kB / 0.8796 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.002614, allocations: 384 / 0.8796 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.002622, allocations: 4.375 kB / 0.8796 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.002648, allocations: 15.88 kB / 0.8796 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.002776, allocations: 155.5 kB / 0.8797 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.002864, allocations: 136.2 kB / 0.8799 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.002906, allocations: 46.55 kB / 0.8799 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.003044, allocations: 4.938 kB / 0.8799 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.003068, allocations: 41.39 kB / 0.88 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.003069, allocations: 0 / 0.88 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001983/0.003267, allocations: 75.45 kB / 0.88 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.003336, allocations: 163.5 kB / 0.8802 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.863e-05/0.003374, allocations: 142.2 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.003384, allocations: 25.7 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.003411, allocations: 126.9 kB / 0.8805 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.003445, allocations: 24.33 kB / 0.8805 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.00347, allocations: 24.58 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.003573, allocations: 0.4883 MB / 0.881 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.003586, allocations: 4 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.003616, allocations: 50.98 kB / 0.881 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/0.003677, allocations: 62.38 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.003679, allocations: 0 / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.903e-05/0.003748, allocations: 73.5 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.003759, allocations: 8 kB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003764, allocations: 0 / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.003777, allocations: 8.141 kB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.003833, allocations: 8 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.003842, allocations: 7.984 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.003858, allocations: 3.938 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.003864, allocations: 4 kB / 0.8812 GB, free: 3.207 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.392e-05/0.003928, allocations: 164.6 kB / 0.8814 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.003938, allocations: 4.125 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.004071, allocations: 96.53 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.004074, allocations: 4 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.004078, allocations: 0 / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.004083, allocations: 4 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.071e-05/0.004174, allocations: 128.5 kB / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004175, allocations: 0 / 0.8816 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.004208, allocations: 19.92 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.004211, allocations: 4 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.004218, allocations: 4 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.00422, allocations: 8.156 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004221, allocations: 0 / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.004325, allocations: 151.1 kB / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.00433, allocations: 0 / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.004342, allocations: 8 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.004356, allocations: 0 / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.004376, allocations: 15.86 kB / 0.8818 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.004382, allocations: 8 kB / 0.8818 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.624e-05/0.004408, allocations: 119.2 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004408, allocations: 0 / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00014/0.004548, allocations: 15.94 kB / 0.8819 GB, free: 2.375 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.0001042/0.004652, allocations: 107.2 kB / 0.882 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.004743, allocations: 39.61 kB / 0.8821 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.004745, allocations: 4 kB / 0.8821 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.00477, allocations: 35.55 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.004881, allocations: 8.625 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.005118, allocations: 165 kB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.389e-05/0.005152, allocations: 59.34 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.005179, allocations: 12 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.005202, allocations: 12.5 kB / 0.8824 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of SimCode: time 6.12e-07/0.005203, allocations: 0 / 0.8824 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of Templates: time 0.002336/0.007539, allocations: 0.5724 MB / 0.8829 GB, free: 1.293 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.2200782680884]