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.001014/0.001014, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00141/0.00141, allocations: 173 kB / 23.49 MB, free: 1.059 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.9665/0.9665, allocations: 177.1 MB / 203.8 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.106/2.106, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.252e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002036/0.002058, allocations: 1.829 MB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.002983, allocations: 0.7117 MB / 0.8807 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.003049, allocations: 0 / 0.8807 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.003085, allocations: 15.8 kB / 0.8807 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.003145, allocations: 16.84 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.003612, allocations: 179 kB / 0.8809 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.003763, allocations: 127.6 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.003887, allocations: 33.56 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.004049, allocations: 92.33 kB / 0.8811 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.004111, allocations: 35.88 kB / 0.8811 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.004133, allocations: 13.41 kB / 0.8812 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.004221, allocations: 47.95 kB / 0.8812 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.004249, allocations: 35.89 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004285, allocations: 33.45 kB / 0.8813 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.004463, allocations: 147.4 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004465, allocations: 0 / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004466, allocations: 0 / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.00447, allocations: 0 / 0.8814 GB, free: 3.359 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.0004215/0.004892, allocations: 464 kB / 0.8819 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.004927, allocations: 12.03 kB / 0.8819 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.005396, allocations: 112.7 kB / 0.882 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.005578, allocations: 159.1 kB / 0.8821 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.00565, allocations: 115.4 kB / 0.8822 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.005671, allocations: 12.38 kB / 0.8822 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.005944, allocations: 194 kB / 0.8824 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.00595, allocations: 0 / 0.8824 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.005967, allocations: 7.938 kB / 0.8824 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.005976, allocations: 7.984 kB / 0.8824 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.006067, allocations: 54.47 kB / 0.8825 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.006618, allocations: 429.2 kB / 0.8829 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.007247, allocations: 142.9 kB / 0.883 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.007303, allocations: 39.78 kB / 0.8831 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.007322, allocations: 12 kB / 0.8831 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.007342, allocations: 33.39 kB / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007343, allocations: 0 / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002513/0.007594, allocations: 121.8 kB / 0.8832 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.007621, allocations: 59.28 kB / 0.8833 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.00772, allocations: 199 kB / 0.8835 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.00774, allocations: 29.7 kB / 0.8835 GB, free: 1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.007802, allocations: 158.9 kB / 0.8837 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.007822, allocations: 15.84 kB / 0.8837 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.007864, allocations: 31.36 kB / 0.8837 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.00797, allocations: 0.5001 MB / 0.8842 GB, free: 280 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.008018, allocations: 28.05 kB / 0.8842 GB, free: 252 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.008076, allocations: 51.05 kB / 0.8843 GB, free: 188 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.008169, allocations: 79 kB / 0.8843 GB, free: 96 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008171, allocations: 0 / 0.8843 GB, free: 96 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001517/0.008323, allocations: 109.6 kB / 0.8845 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.008334, allocations: 4 kB / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008338, allocations: 8 kB / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.008351, allocations: 3.938 kB / 0.8845 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.008458, allocations: 27.97 kB / 0.8845 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008463, allocations: 160 / 0.8845 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.008523, allocations: 19.98 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.008533, allocations: 3.984 kB / 0.8845 GB, free: 15.91 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 7.341e-05/0.008606, allocations: 160.5 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.008637, allocations: 15.89 kB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.008814, allocations: 114.4 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008817, allocations: 3.938 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.008821, allocations: 4 kB / 0.8848 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.008824, allocations: 0 / 0.8848 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.008962, allocations: 165.3 kB / 0.885 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008964, allocations: 0 / 0.885 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.009037, allocations: 23.97 kB / 0.885 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.009039, allocations: 0 / 0.885 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.009049, allocations: 8 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.009051, allocations: 4.109 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.009055, allocations: 7.938 kB / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.009222, allocations: 243.8 kB / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.009233, allocations: 11.95 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.009248, allocations: 0 / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.009346, allocations: 23.97 kB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.009379, allocations: 3.938 kB / 0.8853 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.009391, allocations: 7.984 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.009447, allocations: 156.3 kB / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009447, allocations: 0 / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001762/0.009623, allocations: 23.95 kB / 0.8855 GB, free: 14.88 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 7.88e-05/0.009702, allocations: 91.25 kB / 0.8855 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.009849, allocations: 75.59 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00985, allocations: 0 / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.363e-05/0.009904, allocations: 51.59 kB / 0.8857 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.0101, allocations: 15.98 kB / 0.8857 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.01061, allocations: 242.7 kB / 0.8859 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.01064, allocations: 59.34 kB / 0.886 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.67e-05/0.0107, allocations: 19.98 kB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.01074, allocations: 12.5 kB / 0.886 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.01074, allocations: 0 / 0.886 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.003006/0.01375, allocations: 1.556 MB / 0.8875 GB, free: 12.73 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.404589602025226]