Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.001471/0.001471, allocations: 93.06 kB / 19.65 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.001523/0.001523, 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.9369/0.9369, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.107/2.107, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.763e-05, allocations: 3 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001747/0.001765, allocations: 1.507 MB / 0.8797 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003305/0.002095, allocations: 193.4 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.002127, allocations: 0 / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.002157, allocations: 1.125 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.002202, allocations: 2.844 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.002463, allocations: 44.7 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.002526, allocations: 23.94 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.002611, allocations: 11.91 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.002657, allocations: 12.59 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.002688, allocations: 7.422 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002702, allocations: 4 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.002781, allocations: 31.97 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.002795, allocations: 7.984 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.002812, allocations: 7.938 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.002918, allocations: 43.88 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002921, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002921, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002926, allocations: 0 / 0.88 GB, free: 4.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003459/0.003272, allocations: 365.2 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.003309, allocations: 8.031 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.003348, allocations: 9.484 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.003428, allocations: 113.5 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.003439, allocations: 384 / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.003448, allocations: 384 / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.00357, allocations: 59.67 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003577, allocations: 192 / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003586, allocations: 1.25 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.003594, allocations: 384 / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.003624, allocations: 13.02 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.003887, allocations: 243.8 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.244e-05/0.003939, allocations: 36.56 kB / 0.8808 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.00396, allocations: 15.75 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.004016, allocations: 4 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.004038, allocations: 37.39 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004038, allocations: 4.906 kB / 0.8809 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.004163, allocations: 41.62 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.00419, allocations: 56.16 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.004518, allocations: 157.9 kB / 0.8811 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.004526, allocations: 26.2 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.004569, allocations: 142.9 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.004586, allocations: 15.83 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.00461, allocations: 15.38 kB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.004705, allocations: 0.4884 MB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.004717, allocations: 0 / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.004727, allocations: 4.25 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.004752, allocations: 15.67 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.004755, allocations: 4 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.647e-05/0.004801, allocations: 37.7 kB / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.004812, allocations: 4 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.004817, allocations: 8.031 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.004829, allocations: 4 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.004893, allocations: 7.938 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.004899, allocations: 3.984 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.004914, allocations: 0 / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.004917, allocations: 4 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.182e-05/0.004969, allocations: 152.6 kB / 0.882 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.004982, allocations: 4 kB / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.005054, allocations: 44.94 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005057, allocations: 8.031 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.00506, allocations: 0 / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005062, allocations: 0 / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.005146, allocations: 116.6 kB / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005147, allocations: 0 / 0.8822 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.005165, allocations: 4 kB / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005166, allocations: 0 / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.005171, allocations: 0 / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.005174, allocations: 11.92 kB / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005175, allocations: 3.938 kB / 0.8822 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.678e-05/0.005252, allocations: 187.9 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.005257, allocations: 4 kB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.005265, allocations: 3.938 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.005294, allocations: 7.922 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.005326, allocations: 4 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.005329, allocations: 0 / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.005362, allocations: 131.2 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005362, allocations: 0 / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001472/0.00551, allocations: 8 kB / 0.8826 GB, free: 1.559 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0001045/0.005614, allocations: 115.2 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.397e-05/0.005688, allocations: 19.62 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.005689, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.005707, allocations: 19.67 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.005873, allocations: 5.047 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.006086, allocations: 114.3 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.006116, allocations: 51.36 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.006133, allocations: 4.125 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.006153, allocations: 12.5 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.006154, allocations: 0 / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of Templates: time 0.002205/0.008358, allocations: 0.6845 MB / 0.8836 GB, free: 492 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.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.129193004686385]