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.0009801/0.0009801, 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.001035/0.001035, 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 0.9177/0.9177, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.365/2.365, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.443e-06/1.443e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.585e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002156/0.002172, allocations: 1.815 MB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.003022, allocations: 0.7279 MB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.003077, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.003109, allocations: 15.8 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.003169, allocations: 19.86 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.003592, allocations: 179.5 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003748, allocations: 127.6 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.003858, allocations: 38.2 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.004008, allocations: 91.8 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.004071, allocations: 35.88 kB / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.004091, allocations: 12 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.004172, allocations: 43.97 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.004199, allocations: 35.89 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.004228, allocations: 39.84 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.004378, allocations: 143.5 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.00438, allocations: 0 / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.91e-07/0.00438, allocations: 0 / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.004383, allocations: 0 / 0.8418 GB, free: 10.89 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.0003303/0.004713, allocations: 344.2 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.004739, allocations: 8.031 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.005089, allocations: 100.8 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.005239, allocations: 154 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.005298, allocations: 115.4 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005316, allocations: 12.38 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.005512, allocations: 185.9 kB / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005518, allocations: 4 kB / 0.8427 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.005531, allocations: 4 kB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.005535, allocations: 0 / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.005585, allocations: 38.02 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.005981, allocations: 276 kB / 0.843 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.006202, allocations: 114.4 kB / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.006231, allocations: 32.97 kB / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.006246, allocations: 0 / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.006266, allocations: 34.56 kB / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.006267, allocations: 4 kB / 0.8432 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001531/0.00642, allocations: 81.67 kB / 0.8433 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.006447, allocations: 59.34 kB / 0.8433 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.00652, allocations: 153.7 kB / 0.8435 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.006537, allocations: 25.7 kB / 0.8435 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.006572, allocations: 104.2 kB / 0.8436 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.006589, allocations: 15.84 kB / 0.8436 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.006628, allocations: 29.69 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.006698, allocations: 318.8 kB / 0.8439 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.006723, allocations: 16 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.00676, allocations: 38.56 kB / 0.844 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.006823, allocations: 62.48 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006824, allocations: 0 / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.858e-05/0.006913, allocations: 73.61 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006924, allocations: 11.98 kB / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006928, allocations: 0 / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.00694, allocations: 3.938 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.007032, allocations: 40.02 kB / 0.8442 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007036, allocations: 4.094 kB / 0.8442 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.007087, allocations: 16.25 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.007096, allocations: 4 kB / 0.8442 GB, free: 8.258 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.53e-05/0.007161, allocations: 117.7 kB / 0.8443 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.007182, allocations: 7.984 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.00729, allocations: 94.42 kB / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.007292, allocations: 0 / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007294, allocations: 3.938 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.007296, allocations: 0 / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.0074, allocations: 101.8 kB / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007401, allocations: 0 / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.007462, allocations: 23.97 kB / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007463, allocations: 0 / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.00747, allocations: 0 / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.007473, allocations: 7.969 kB / 0.8445 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007473, allocations: 8 kB / 0.8445 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.007575, allocations: 171.4 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.007582, allocations: 3.953 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.007594, allocations: 4 kB / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.007678, allocations: 15.98 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.0077, allocations: 7.984 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.007709, allocations: 3.984 kB / 0.8447 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.352e-05/0.007733, allocations: 34.64 kB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007733, allocations: 0 / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000135/0.007868, allocations: 31.95 kB / 0.8448 GB, free: 7.586 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 7.262e-05/0.00794, allocations: 80.41 kB / 0.8449 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.008031, allocations: 52.78 kB / 0.8449 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.008033, allocations: 4 kB / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.008067, allocations: 32.78 kB / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.0082, allocations: 20.3 kB / 0.845 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.008568, allocations: 221 kB / 0.8452 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.008597, allocations: 63.34 kB / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.00865, allocations: 16 kB / 0.8453 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.008775, allocations: 83.3 kB / 0.8453 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.008775, allocations: 3.938 kB / 0.8454 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of Templates: time 0.003004/0.01178, allocations: 1.651 MB / 0.847 GB, free: 5.328 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 -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.271739806979895]