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.001387/0.001387, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 13.93 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.0009837/0.0009837, allocations: 169 kB / 23.02 MB, free: 1.547 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.9821/0.9821, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.104/2.104, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 2.425e-06/2.425e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.202e-05/4.444e-05, allocations: 3.281 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.004247/0.004291, allocations: 1.827 MB / 0.88 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.005695, allocations: 0.7126 MB / 0.8807 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.005791, allocations: 1.625 kB / 0.8807 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.005842, allocations: 7.875 kB / 0.8807 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.00593, allocations: 27.72 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007805/0.00671, allocations: 178.7 kB / 0.8809 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.006914, allocations: 127.5 kB / 0.881 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.00707, allocations: 38.72 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.007277, allocations: 91.73 kB / 0.8811 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.007364, allocations: 39.88 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.007396, allocations: 12.88 kB / 0.8812 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.007514, allocations: 43.97 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.00755, allocations: 28.41 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.007602, allocations: 41.73 kB / 0.8813 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.007854, allocations: 147.4 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.007857, allocations: 0 / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.007859, allocations: 0 / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.007865, allocations: 0 / 0.8814 GB, free: 3.039 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.0005737/0.008439, allocations: 465.3 kB / 0.8818 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.008485, allocations: 12.03 kB / 0.8819 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.009172, allocations: 110.4 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.009425, allocations: 160.6 kB / 0.8821 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.009523, allocations: 115.4 kB / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.009556, allocations: 8.375 kB / 0.8822 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.00995, allocations: 198.9 kB / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.00996, allocations: 0 / 0.8824 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.009983, allocations: 4 kB / 0.8824 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.009995, allocations: 4 kB / 0.8824 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.01014, allocations: 55.97 kB / 0.8825 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.011, allocations: 427.2 kB / 0.8829 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.01147, allocations: 153.3 kB / 0.883 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.01154, allocations: 39.8 kB / 0.8831 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.01157, allocations: 0.5312 kB / 0.8831 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.0116, allocations: 34.39 kB / 0.8831 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.624e-06/0.0116, allocations: 4 kB / 0.8831 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003463/0.01195, allocations: 121.6 kB / 0.8832 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.01198, allocations: 59.34 kB / 0.8833 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.01212, allocations: 193.9 kB / 0.8835 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.01214, allocations: 25.7 kB / 0.8835 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.01222, allocations: 162.9 kB / 0.8837 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.01225, allocations: 23.78 kB / 0.8837 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.0123, allocations: 31.36 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01246, allocations: 0.4923 MB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.01253, allocations: 24 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.01261, allocations: 55.03 kB / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01275, allocations: 75.06 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01275, allocations: 0 / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.01297, allocations: 113.5 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.01299, allocations: 4 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.013, allocations: 0 / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.01302, allocations: 11.88 kB / 0.8845 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.0132, allocations: 27.95 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01321, allocations: 8.062 kB / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.01331, allocations: 15.98 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01332, allocations: 0 / 0.8845 GB, free: 15.61 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 9.894e-05/0.01342, allocations: 160.6 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.01347, allocations: 7.953 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.01373, allocations: 118.3 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.01374, allocations: 7.938 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01374, allocations: 4.375 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01375, allocations: 3.984 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01396, allocations: 165.3 kB / 0.885 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01396, allocations: 4 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.01409, allocations: 23.97 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0141, allocations: 0 / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.01411, allocations: 4 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01411, allocations: 0 / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01411, allocations: 3.938 kB / 0.885 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.01436, allocations: 247.8 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.01438, allocations: 15.95 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.0144, allocations: 4 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01453, allocations: 15.98 kB / 0.8853 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.01456, allocations: 7.922 kB / 0.8853 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.01458, allocations: 7.984 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.01463, allocations: 153.6 kB / 0.8854 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 0 / 0.8854 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000173/0.01481, allocations: 23.95 kB / 0.8854 GB, free: 14.58 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.0001016/0.01491, allocations: 99.25 kB / 0.8855 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.01506, allocations: 75.59 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01506, allocations: 0 / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.01512, allocations: 43.67 kB / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01534, allocations: 19.97 kB / 0.8857 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.01589, allocations: 237.2 kB / 0.8859 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.01593, allocations: 67.47 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.162e-05/0.01598, allocations: 11.94 kB / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.01603, allocations: 20.48 kB / 0.886 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.01603, allocations: 0 / 0.886 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.00335/0.01938, allocations: 1.558 MB / 0.8875 GB, free: 12.43 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.501731361728162]