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.001021/0.001021, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002477, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001031/0.001031, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002264, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.111/1.111, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.212, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.424/2.424, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2387/2.663, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.252e-06/1.252e-06, allocations: 0 / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.271e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001449/0.001462, allocations: 0.6539 MB / 0.819 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.001604, allocations: 71.66 kB / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.279e-05/0.001616, allocations: 0 / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-06/0.001621, allocations: 0 / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.665e-06/0.001624, allocations: 0 / 0.8191 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.001744, allocations: 27.84 kB / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.19e-05/0.001796, allocations: 7.984 kB / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.001844, allocations: 8 kB / 0.8191 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.001888, allocations: 8 kB / 0.8191 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.001942, allocations: 7.984 kB / 0.8191 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.001955, allocations: 3.938 kB / 0.8191 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.002055, allocations: 11.98 kB / 0.8192 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.002066, allocations: 0 / 0.8192 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.312e-05/0.002079, allocations: 4 kB / 0.8192 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.002173, allocations: 11.98 kB / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.675e-05/0.00219, allocations: 4 kB / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00219, allocations: 0 / 0.8192 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.002207, allocations: 7.984 kB / 0.8192 GB, free: 1.996 MB / 0.7917 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.0003473/0.002555, allocations: 232.6 kB / 0.8194 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.002589, allocations: 8.625 kB / 0.8194 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.002617, allocations: 4.938 kB / 0.8194 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.775e-05/0.002685, allocations: 105.7 kB / 0.8195 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.002696, allocations: 384 / 0.8195 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.002707, allocations: 12.36 kB / 0.8195 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.002829, allocations: 74.53 kB / 0.8196 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.00284, allocations: 4.125 kB / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.002848, allocations: 384 / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.002854, allocations: 384 / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.002887, allocations: 23.86 kB / 0.8196 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.003012, allocations: 84.52 kB / 0.8197 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.003104, allocations: 93.06 kB / 0.8198 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.003141, allocations: 40.33 kB / 0.8198 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.00328, allocations: 8 kB / 0.8198 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.003307, allocations: 34.56 kB / 0.8199 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.003308, allocations: 0 / 0.8199 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.0001438/0.003452, allocations: 73.48 kB / 0.8199 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.00352, allocations: 158.2 kB / 0.8201 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.186e-05/0.003552, allocations: 89.86 kB / 0.8202 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.003563, allocations: 25.7 kB / 0.8202 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.003586, allocations: 80.14 kB / 0.8203 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.003627, allocations: 15.91 kB / 0.8203 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.00366, allocations: 17.7 kB / 0.8203 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.003752, allocations: 322.8 kB / 0.8206 GB, free: 280 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.003764, allocations: 4.625 kB / 0.8206 GB, free: 276 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.003795, allocations: 40.22 kB / 0.8207 GB, free: 220 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.003853, allocations: 48.22 kB / 0.8207 GB, free: 156 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.003855, allocations: 0 / 0.8207 GB, free: 156 kB / 0.7917 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.669e-05/0.003942, allocations: 49.62 kB / 0.8208 GB, free: 100 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.003955, allocations: 4.156 kB / 0.8208 GB, free: 96 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00396, allocations: 4 kB / 0.8208 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.003969, allocations: 7.938 kB / 0.8208 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.004044, allocations: 11.98 kB / 0.8208 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.004047, allocations: 0 / 0.8208 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.004075, allocations: 11.95 kB / 0.8208 GB, free: 60 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.004083, allocations: 3.938 kB / 0.8208 GB, free: 56 kB / 0.7917 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.539e-05/0.004159, allocations: 117.8 kB / 0.8209 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.004176, allocations: 7.984 kB / 0.8209 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.004322, allocations: 88.61 kB / 0.821 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.004326, allocations: 3.984 kB / 0.821 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.00433, allocations: 4 kB / 0.821 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.004334, allocations: 0 / 0.821 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.658e-05/0.00443, allocations: 69.84 kB / 0.8211 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.004434, allocations: 4 kB / 0.8211 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.004495, allocations: 19.92 kB / 0.8211 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.004507, allocations: 12.09 kB / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.004511, allocations: 8 kB / 0.8211 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.004518, allocations: 4 kB / 0.8211 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.00452, allocations: 0 / 0.8211 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.004523, allocations: 4 kB / 0.8211 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.004629, allocations: 104.4 kB / 0.8212 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.004641, allocations: 4 kB / 0.8212 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.004666, allocations: 4 kB / 0.8212 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.004686, allocations: 7.984 kB / 0.8212 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.004691, allocations: 0 / 0.8212 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.003e-06/0.004698, allocations: 8.953 kB / 0.8212 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.004698, allocations: 4 kB / 0.8213 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001915/0.00489, allocations: 11.94 kB / 0.8213 GB, free: 15.51 MB / 0.8073 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.0001204/0.00501, allocations: 84.34 kB / 0.8213 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.005109, allocations: 48.7 kB / 0.8214 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.005113, allocations: 0 / 0.8214 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.005143, allocations: 25.28 kB / 0.8214 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.928e-05/0.005232, allocations: 16.12 kB / 0.8214 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.005473, allocations: 158 kB / 0.8216 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.005509, allocations: 55.36 kB / 0.8216 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.005547, allocations: 8 kB / 0.8216 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.005593, allocations: 59.36 kB / 0.8217 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.005593, allocations: 4 kB / 0.8217 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of Templates: time 0.002765/0.008359, allocations: 0.6539 MB / 0.8223 GB, free: 14.34 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.ref.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.215878338553011]