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.0009683/0.0009683, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.0009329/0.0009329, allocations: 169 kB / 24.06 MB, free: 456 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 0.9481/0.9481, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.157/2.157, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.503e-06/1.503e-06, allocations: 3.938 kB / 0.8794 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.731e-05, allocations: 11.66 kB / 0.8794 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001796/0.001823, allocations: 0.6181 MB / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000235/0.002058, allocations: 56.56 kB / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.00208, allocations: 1.344 kB / 0.8801 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.002099, allocations: 3.938 kB / 0.8801 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-06/0.002107, allocations: 0.6562 kB / 0.8801 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.002345, allocations: 20.69 kB / 0.8801 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.002399, allocations: 16.86 kB / 0.8801 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.002443, allocations: 1.594 kB / 0.8801 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.002473, allocations: 8.969 kB / 0.8802 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.002523, allocations: 7.984 kB / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.002536, allocations: 0 / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.769e-05/0.002613, allocations: 22.38 kB / 0.8802 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.002632, allocations: 4.969 kB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.002648, allocations: 7.984 kB / 0.8802 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.00276, allocations: 17.19 kB / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002762, allocations: 2.938 kB / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002763, allocations: 0 / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002767, allocations: 0 / 0.8802 GB, free: 5.188 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.0003054/0.003073, allocations: 352.3 kB / 0.8806 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.003116, allocations: 13.34 kB / 0.8806 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.003146, allocations: 9.234 kB / 0.8806 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.003217, allocations: 108.6 kB / 0.8807 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.003228, allocations: 1.094 kB / 0.8807 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.003234, allocations: 384 / 0.8807 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.00334, allocations: 85.97 kB / 0.8808 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003348, allocations: 4.188 kB / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.003355, allocations: 384 / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003362, allocations: 384 / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.003394, allocations: 23.86 kB / 0.8808 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.003537, allocations: 128.1 kB / 0.8809 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.003643, allocations: 144.2 kB / 0.881 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.00368, allocations: 43.66 kB / 0.8811 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.003794, allocations: 15.98 kB / 0.8811 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.003817, allocations: 37.33 kB / 0.8811 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 2.053e-06/0.003819, allocations: 3.984 kB / 0.8811 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001496/0.003969, allocations: 69.66 kB / 0.8812 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.004034, allocations: 166.1 kB / 0.8814 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.371e-05/0.004078, allocations: 142.2 kB / 0.8815 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.004089, allocations: 29.7 kB / 0.8815 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.004123, allocations: 126.9 kB / 0.8817 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.00416, allocations: 15.89 kB / 0.8817 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.004192, allocations: 27.3 kB / 0.8817 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.004323, allocations: 0.4922 MB / 0.8822 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.004337, allocations: 4.531 kB / 0.8822 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.004378, allocations: 46.44 kB / 0.8822 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.443e-05/0.004452, allocations: 66.34 kB / 0.8823 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.004455, allocations: 0 / 0.8823 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001208/0.004575, allocations: 65.52 kB / 0.8824 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.004588, allocations: 4.156 kB / 0.8824 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004593, allocations: 4.125 kB / 0.8824 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.004606, allocations: 8 kB / 0.8824 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.004671, allocations: 11.98 kB / 0.8824 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.004674, allocations: 0 / 0.8824 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.004701, allocations: 4 kB / 0.8824 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.004708, allocations: 0 / 0.8824 GB, free: 2.613 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 7.624e-05/0.004784, allocations: 164.5 kB / 0.8825 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.0048, allocations: 8 kB / 0.8825 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.004957, allocations: 88.53 kB / 0.8826 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.004961, allocations: 4 kB / 0.8826 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.004963, allocations: 0 / 0.8826 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.004968, allocations: 4 kB / 0.8826 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.005074, allocations: 117.1 kB / 0.8828 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.005077, allocations: 4 kB / 0.8828 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.005127, allocations: 12 kB / 0.8828 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.00513, allocations: 160 / 0.8828 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.005138, allocations: 12 kB / 0.8828 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.005141, allocations: 3.984 kB / 0.8828 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.005145, allocations: 7.938 kB / 0.8828 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.005275, allocations: 143.1 kB / 0.8829 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.005284, allocations: 4 kB / 0.8829 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.005293, allocations: 4 kB / 0.8829 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.005318, allocations: 7.984 kB / 0.8829 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.005335, allocations: 4 kB / 0.8829 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.005341, allocations: 4 kB / 0.8829 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.005376, allocations: 123.2 kB / 0.8831 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005376, allocations: 4 kB / 0.8831 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002096/0.005585, allocations: 7.984 kB / 0.8831 GB, free: 1.816 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.0003767/0.005962, allocations: 115 kB / 0.8832 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.974e-05/0.006062, allocations: 39.59 kB / 0.8832 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.006065, allocations: 4 kB / 0.8832 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.006094, allocations: 28.11 kB / 0.8833 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.006248, allocations: 17.44 kB / 0.8833 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.006502, allocations: 161 kB / 0.8834 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.006538, allocations: 55.36 kB / 0.8835 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.006575, allocations: 4 kB / 0.8835 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.006623, allocations: 82.19 kB / 0.8836 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.006624, allocations: 4 kB / 0.8836 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of Templates: time 0.002158/0.008782, allocations: 0.6568 MB / 0.8842 GB, free: 0.5859 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.188568128272891]