Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001061/0.001061, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009683/0.0009683, allocations: 161 kB / 24.16 MB, free: 332 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.9896/0.9896, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.023/2.023, allocations: 377.9 MB / 0.624 GB, free: 8.32 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.7601 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.183e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001392/0.001414, allocations: 0.6783 MB / 0.7608 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.001597, allocations: 61.2 kB / 0.7608 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.341e-05/0.001611, allocations: 0.625 kB / 0.7608 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.001623, allocations: 3.938 kB / 0.7608 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.062e-06/0.001629, allocations: 0.5938 kB / 0.7608 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.001802, allocations: 18.05 kB / 0.7608 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.001852, allocations: 12.64 kB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.001886, allocations: 4.641 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.001917, allocations: 8.875 kB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.001956, allocations: 7.984 kB / 0.7609 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.001965, allocations: 6.125 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.627e-05/0.002031, allocations: 17.02 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.002044, allocations: 7.984 kB / 0.7609 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.699e-06/0.002053, allocations: 0.5469 kB / 0.7609 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.118e-05/0.002115, allocations: 25.48 kB / 0.7609 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002117, allocations: 0 / 0.7609 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002117, allocations: 1.531 kB / 0.7609 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.00212, allocations: 0 / 0.7609 GB, free: 5.668 MB / 0.7136 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.0002084/0.002329, allocations: 224.7 kB / 0.7611 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.002356, allocations: 9.281 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.002378, allocations: 1.703 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.368e-05/0.002431, allocations: 105.8 kB / 0.7613 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.00244, allocations: 384 / 0.7613 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.002446, allocations: 5.594 kB / 0.7613 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/0.002526, allocations: 74.47 kB / 0.7613 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.002532, allocations: 192 / 0.7613 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.002538, allocations: 1.281 kB / 0.7613 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.002543, allocations: 0.9219 kB / 0.7613 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.002563, allocations: 24.53 kB / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.678e-05/0.00265, allocations: 86.36 kB / 0.7614 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.002719, allocations: 96.98 kB / 0.7615 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.002747, allocations: 40.39 kB / 0.7616 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.00285, allocations: 7.75 kB / 0.7616 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.002874, allocations: 42.5 kB / 0.7616 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.002875, allocations: 0 / 0.7616 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001118/0.002987, allocations: 61.55 kB / 0.7617 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.003041, allocations: 164.9 kB / 0.7618 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.531e-05/0.003067, allocations: 89.86 kB / 0.7619 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.003075, allocations: 29.7 kB / 0.762 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.003092, allocations: 80.14 kB / 0.762 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.003119, allocations: 16.94 kB / 0.762 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.003144, allocations: 21.7 kB / 0.7621 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.003217, allocations: 318.8 kB / 0.7624 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.003225, allocations: 0.7812 kB / 0.7624 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.00325, allocations: 40.27 kB / 0.7624 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.003295, allocations: 46.09 kB / 0.7625 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.003297, allocations: 0.75 kB / 0.7625 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.959e-05/0.003357, allocations: 59.31 kB / 0.7625 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.003368, allocations: 4.75 kB / 0.7625 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.003373, allocations: 4 kB / 0.7625 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.003384, allocations: 4.562 kB / 0.7625 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.003434, allocations: 15.39 kB / 0.7625 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.003437, allocations: 0 / 0.7625 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.003453, allocations: 3.953 kB / 0.7625 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.003459, allocations: 7.938 kB / 0.7625 GB, free: 3.754 MB / 0.7136 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 5.215e-05/0.003511, allocations: 118.4 kB / 0.7627 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.00352, allocations: 4 kB / 0.7627 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.003625, allocations: 75.53 kB / 0.7627 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.00363, allocations: 4 kB / 0.7627 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.003632, allocations: 0 / 0.7627 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.003637, allocations: 7.984 kB / 0.7627 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.454e-05/0.003711, allocations: 82.75 kB / 0.7628 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.003713, allocations: 0 / 0.7628 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.003748, allocations: 21.7 kB / 0.7628 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.00375, allocations: 0 / 0.7628 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.003755, allocations: 0 / 0.7628 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.003758, allocations: 7.938 kB / 0.7629 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.003759, allocations: 1.562 kB / 0.7629 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.803e-05/0.003837, allocations: 112.4 kB / 0.763 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.003845, allocations: 11.95 kB / 0.763 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.003854, allocations: 8.766 kB / 0.763 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.003868, allocations: 5.281 kB / 0.763 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.003883, allocations: 7.984 kB / 0.763 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.003889, allocations: 4 kB / 0.763 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.809e-06/0.003894, allocations: 5.516 kB / 0.763 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003894, allocations: 0 / 0.763 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001139/0.004007, allocations: 8.844 kB / 0.763 GB, free: 3.219 MB / 0.7136 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 9.589e-05/0.004103, allocations: 90.48 kB / 0.7631 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.004169, allocations: 41.56 kB / 0.7631 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.004171, allocations: 0 / 0.7631 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.004191, allocations: 26.39 kB / 0.7632 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.449e-05/0.004255, allocations: 9.172 kB / 0.7632 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.004442, allocations: 149.6 kB / 0.7633 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.284e-05/0.004475, allocations: 59.36 kB / 0.7634 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.004505, allocations: 11.83 kB / 0.7634 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.00454, allocations: 51.38 kB / 0.7634 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.004541, allocations: 0 / 0.7634 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of Templates: time 0.001973/0.006514, allocations: 0.6434 MB / 0.7641 GB, free: 2.117 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1681207260116935]