Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001058/0.001058, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001382/0.001382, allocations: 161 kB / 24.16 MB, free: 336 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 1.044/1.044, 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 1.934/1.934, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7601 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.966e-05, allocations: 3.531 kB / 0.7601 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002529/0.002549, allocations: 1.881 MB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003594, allocations: 0.7198 MB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.003658, allocations: 2.234 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.003693, allocations: 11.81 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.00376, allocations: 23.28 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.004201, allocations: 171.3 kB / 0.7628 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004354, allocations: 133.3 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004462, allocations: 43.56 kB / 0.763 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.004613, allocations: 83.8 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.004678, allocations: 43.81 kB / 0.7631 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004698, allocations: 13.25 kB / 0.7631 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.0048, allocations: 47.97 kB / 0.7631 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.004823, allocations: 27.91 kB / 0.7632 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.466e-05/0.004858, allocations: 41.05 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.005031, allocations: 147.4 kB / 0.7634 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005033, allocations: 0 / 0.7634 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005034, allocations: 0 / 0.7634 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.005037, allocations: 1.25 kB / 0.7634 GB, free: 3.285 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003284/0.005366, allocations: 332.3 kB / 0.7637 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.005398, allocations: 9.062 kB / 0.7637 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.005796, allocations: 104.2 kB / 0.7638 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005958, allocations: 150 kB / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.006019, allocations: 111.4 kB / 0.764 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.006035, allocations: 12.38 kB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.006242, allocations: 189 kB / 0.7642 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.006248, allocations: 0 / 0.7642 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.006264, allocations: 11.98 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.006268, allocations: 0 / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.006322, allocations: 35.98 kB / 0.7643 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.006832, allocations: 265.5 kB / 0.7645 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.007072, allocations: 125 kB / 0.7646 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.007103, allocations: 24.84 kB / 0.7647 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.007118, allocations: 4 kB / 0.7647 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.007138, allocations: 34.69 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.00714, allocations: 2.438 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001925/0.007332, allocations: 85.8 kB / 0.7648 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.007358, allocations: 51.41 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.007454, allocations: 159 kB / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.007472, allocations: 25.7 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.007519, allocations: 104.2 kB / 0.7651 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.007543, allocations: 26.08 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.007593, allocations: 21.7 kB / 0.7652 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.007677, allocations: 326.8 kB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.007714, allocations: 16.06 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.007761, allocations: 38.56 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.007852, allocations: 51.53 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007855, allocations: 0.9375 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001251/0.00798, allocations: 83.89 kB / 0.7657 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.007992, allocations: 8 kB / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007997, allocations: 0 / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.008008, allocations: 0 / 0.7657 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.008139, allocations: 31.95 kB / 0.7657 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.008143, allocations: 3.938 kB / 0.7657 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.008215, allocations: 14.42 kB / 0.7657 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.008227, allocations: 8 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 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 7.358e-05/0.0083, allocations: 117.7 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.008335, allocations: 11.98 kB / 0.7658 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.008484, allocations: 87.92 kB / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.008486, allocations: 0 / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.008488, allocations: 5.75 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008491, allocations: 0 / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.008641, allocations: 97.86 kB / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008643, allocations: 0 / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.008744, allocations: 24.84 kB / 0.766 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008746, allocations: 0 / 0.766 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.008757, allocations: 7.984 kB / 0.7661 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008758, allocations: 0.7812 kB / 0.7661 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.008762, allocations: 8.594 kB / 0.7661 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.008895, allocations: 171.5 kB / 0.7662 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.008908, allocations: 12.53 kB / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.008923, allocations: 0 / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.009051, allocations: 21.19 kB / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.009076, allocations: 0 / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.009092, allocations: 12.55 kB / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.009122, allocations: 39.22 kB / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009122, allocations: 0 / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002147/0.009337, allocations: 21.5 kB / 0.7663 GB, free: 16 kB / 0.7136 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 9.229e-05/0.009429, allocations: 80.42 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.009549, allocations: 53.81 kB / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.009551, allocations: 0 / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.0096, allocations: 33.5 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.009793, allocations: 22.3 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.01025, allocations: 223.1 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.01029, allocations: 63.34 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.615e-05/0.01037, allocations: 19.31 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.01053, allocations: 79.31 kB / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.01054, allocations: 0 / 0.7669 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.00348/0.01402, allocations: 1.644 MB / 0.7685 GB, free: 13.84 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.103788933716714]