Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001415/0.001415, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0014/0.0014, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.018/1.018, allocations: 177.2 MB / 203.8 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.487/2.487, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.58e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003518/0.003544, allocations: 1.873 MB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004759, allocations: 0.7241 MB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.004824, allocations: 4 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.00486, allocations: 11.86 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.004927, allocations: 19.75 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.005391, allocations: 175.5 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.005551, allocations: 127.6 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005669, allocations: 42.2 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.005836, allocations: 87.86 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.005903, allocations: 35.88 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.005927, allocations: 12 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.006038, allocations: 51.95 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.006064, allocations: 31.89 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.006098, allocations: 35.91 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.006281, allocations: 147.4 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006283, allocations: 4 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006284, allocations: 0 / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.006289, allocations: 0 / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003585/0.006647, allocations: 340.3 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.006681, allocations: 12.03 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.007101, allocations: 92.81 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.007272, allocations: 155.2 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.007335, allocations: 111.4 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.007351, allocations: 12.38 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.007577, allocations: 195.7 kB / 0.8428 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.007584, allocations: 3.938 kB / 0.8428 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.007597, allocations: 4 kB / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.007602, allocations: 4 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.007657, allocations: 35.98 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.008095, allocations: 275.9 kB / 0.8431 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.008333, allocations: 114.5 kB / 0.8432 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.008362, allocations: 20.86 kB / 0.8432 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.00838, allocations: 8.125 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.008401, allocations: 42.5 kB / 0.8433 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.008402, allocations: 0 / 0.8433 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001629/0.008565, allocations: 81.67 kB / 0.8434 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.008586, allocations: 51.41 kB / 0.8434 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.008664, allocations: 156.6 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.008681, allocations: 29.7 kB / 0.8436 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.008718, allocations: 104.2 kB / 0.8437 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.008737, allocations: 15.84 kB / 0.8437 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.008776, allocations: 25.69 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.008852, allocations: 322.8 kB / 0.844 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.008879, allocations: 16 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.008921, allocations: 46.47 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.008989, allocations: 54.55 kB / 0.8441 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008991, allocations: 0 / 0.8441 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.972e-05/0.00909, allocations: 81.61 kB / 0.8442 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.009102, allocations: 4 kB / 0.8442 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009107, allocations: 4 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.009115, allocations: 4.062 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.009222, allocations: 31.91 kB / 0.8443 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.009226, allocations: 3.938 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.009281, allocations: 19.94 kB / 0.8443 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.00929, allocations: 3.984 kB / 0.8443 GB, free: 8.152 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.402e-05/0.009354, allocations: 113.8 kB / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.009376, allocations: 4 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.009507, allocations: 94.36 kB / 0.8445 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.009509, allocations: 4 kB / 0.8445 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.009511, allocations: 7.875 kB / 0.8445 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009514, allocations: 0 / 0.8445 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.009634, allocations: 106.2 kB / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009636, allocations: 0 / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.009712, allocations: 27.97 kB / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.009713, allocations: 0 / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.00972, allocations: 0 / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.009721, allocations: 4 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.009722, allocations: 4 kB / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.009836, allocations: 171.4 kB / 0.8448 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.009846, allocations: 7.938 kB / 0.8448 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.009858, allocations: 4 kB / 0.8448 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.009943, allocations: 11.98 kB / 0.8448 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.00997, allocations: 11.97 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.009982, allocations: 7.984 kB / 0.8448 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.01001, allocations: 34.27 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 4 kB / 0.8449 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001454/0.01015, allocations: 23.95 kB / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.834e-05/0.01024, allocations: 80.42 kB / 0.845 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01034, allocations: 52.77 kB / 0.845 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01035, allocations: 4 kB / 0.845 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.01039, allocations: 36.83 kB / 0.8451 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.01055, allocations: 19.92 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.01096, allocations: 221 kB / 0.8453 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.01099, allocations: 63.34 kB / 0.8454 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.897e-05/0.01105, allocations: 16 kB / 0.8454 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.01119, allocations: 83.3 kB / 0.8454 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.01119, allocations: 0 / 0.8454 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of Templates: time 0.003014/0.0142, allocations: 1.643 MB / 0.8471 GB, free: 5.223 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.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.454063456039876]