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.0009648/0.0009648, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001001/0.001001, allocations: 169.4 kB / 24.06 MB, free: 452 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.9337/0.9337, allocations: 177.1 MB / 204.5 MB, free: 5.129 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.096/2.096, allocations: 429.5 MB / 0.6743 GB, free: 3.941 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.383e-06/1.383e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.051e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002103/0.002124, allocations: 1.83 MB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003251, allocations: 0.7035 MB / 0.8819 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.003327, allocations: 4 kB / 0.8819 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.003367, allocations: 15.8 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.237e-05/0.00344, allocations: 17.05 kB / 0.8819 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.003948, allocations: 170.9 kB / 0.8821 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.004135, allocations: 139.5 kB / 0.8822 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004256, allocations: 33.61 kB / 0.8822 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.004426, allocations: 88.33 kB / 0.8823 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.004499, allocations: 37.47 kB / 0.8824 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.004528, allocations: 12 kB / 0.8824 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.00463, allocations: 47.97 kB / 0.8824 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.004661, allocations: 31.89 kB / 0.8824 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.0047, allocations: 33.34 kB / 0.8825 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.004897, allocations: 151.4 kB / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004899, allocations: 0 / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.0049, allocations: 0 / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004904, allocations: 4 kB / 0.8826 GB, free: 2.762 MB / 0.8386 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.0004446/0.005349, allocations: 467.9 kB / 0.8831 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005382, allocations: 8.031 kB / 0.8831 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.005927, allocations: 108.7 kB / 0.8832 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.006116, allocations: 160.9 kB / 0.8833 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/0.006187, allocations: 111.4 kB / 0.8834 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.006209, allocations: 12.31 kB / 0.8834 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.006493, allocations: 190 kB / 0.8836 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006502, allocations: 0 / 0.8836 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.006519, allocations: 4 kB / 0.8836 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006526, allocations: 4 kB / 0.8836 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.006604, allocations: 46.25 kB / 0.8837 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.007204, allocations: 397.9 kB / 0.8841 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.007557, allocations: 139 kB / 0.8842 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.007603, allocations: 27.67 kB / 0.8842 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.007624, allocations: 8 kB / 0.8842 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.007651, allocations: 37.38 kB / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.007653, allocations: 0 / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002594/0.007913, allocations: 109.9 kB / 0.8844 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007944, allocations: 51.41 kB / 0.8844 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.008057, allocations: 207.3 kB / 0.8846 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008075, allocations: 25.7 kB / 0.8846 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.008143, allocations: 162.9 kB / 0.8848 GB, free: 340 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.008165, allocations: 15.83 kB / 0.8848 GB, free: 324 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.008219, allocations: 31.36 kB / 0.8848 GB, free: 284 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.008357, allocations: 0.5001 MB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.008405, allocations: 15.98 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.008464, allocations: 55.02 kB / 0.8854 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.008565, allocations: 70.98 kB / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008567, allocations: 0 / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001619/0.008729, allocations: 97.52 kB / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.008743, allocations: 8 kB / 0.8856 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008747, allocations: 4.062 kB / 0.8856 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.008756, allocations: 0 / 0.8856 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.008888, allocations: 35.91 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.008891, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.008968, allocations: 15.92 kB / 0.8856 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.00898, allocations: 4 kB / 0.8856 GB, free: 15.43 MB / 0.8542 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 8.85e-05/0.009069, allocations: 164.5 kB / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.00911, allocations: 15.94 kB / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.009284, allocations: 102.4 kB / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009286, allocations: 0 / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.009288, allocations: 3.938 kB / 0.8859 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009291, allocations: 0 / 0.8859 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.009468, allocations: 146 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.00947, allocations: 0 / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.784e-05/0.009567, allocations: 23.97 kB / 0.8861 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.00957, allocations: 3.984 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.00958, allocations: 8.188 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.009583, allocations: 7.938 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.009584, allocations: 4 kB / 0.8861 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.009775, allocations: 227.8 kB / 0.8863 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.009786, allocations: 7.953 kB / 0.8863 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.009803, allocations: 4 kB / 0.8863 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.009937, allocations: 19.97 kB / 0.8863 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.009966, allocations: 7.984 kB / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.009979, allocations: 0 / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.01004, allocations: 161 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002406/0.01028, allocations: 23.95 kB / 0.8865 GB, free: 14.45 MB / 0.8542 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 0.0001011/0.01038, allocations: 95.25 kB / 0.8866 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.01052, allocations: 67.58 kB / 0.8867 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01052, allocations: 0 / 0.8867 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.01058, allocations: 43.59 kB / 0.8867 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01083, allocations: 16.11 kB / 0.8867 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.0113, allocations: 230.5 kB / 0.8869 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.01134, allocations: 67.33 kB / 0.887 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.531e-05/0.01142, allocations: 16 kB / 0.887 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.01158, allocations: 106.1 kB / 0.8871 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01158, allocations: 0 / 0.8871 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.003686/0.01527, allocations: 1.746 MB / 0.8888 GB, free: 12.03 MB / 0.8542 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.320405690930784]