Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 187.3 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 251 MB, free: 13.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 68.12 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7556, allocations: 160.8 MB / 1.218 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002679/0.7583, allocations: 1.451 MB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004727/0.7588, allocations: 208.7 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.7588, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.7588, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.7589, allocations: 5.219 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.7592, allocations: 41.06 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.63e-05/0.7592, allocations: 17.38 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.7593, allocations: 10.08 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.7594, allocations: 7.562 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.7594, allocations: 11.27 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.7594, allocations: 2.281 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.7595, allocations: 40.39 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.7595, allocations: 12.97 kB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.7596, allocations: 10.16 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.7597, allocations: 37.42 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7597, allocations: 1.188 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7597, allocations: 0 / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7597, allocations: 0 / 1.22 GB, free: 2.301 MB / 0.92 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.0005224/0.7602, allocations: 350.5 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7603, allocations: 9.281 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.7603, allocations: 9.891 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.7605, allocations: 170.5 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.7605, allocations: 5.406 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.7605, allocations: 1.406 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.7607, allocations: 50.27 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7607, allocations: 192 / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.7607, allocations: 3.938 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7607, allocations: 1.094 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.7608, allocations: 38.86 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.7612, allocations: 245.4 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7613, allocations: 46.03 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.7614, allocations: 18.53 kB / 1.221 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.742e-05/0.7615, allocations: 83.73 kB / 1.221 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.7616, allocations: 39.61 kB / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7616, allocations: 0 / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003442/0.7619, allocations: 81.75 kB / 1.221 GB, free: 1.109 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.7619, allocations: 55.34 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.762, allocations: 108.6 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.7621, allocations: 25.7 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.7621, allocations: 85.52 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.7621, allocations: 5.641 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.7622, allocations: 15.23 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7623, allocations: 316.1 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.7624, allocations: 13.67 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.7625, allocations: 21.17 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.7626, allocations: 39.94 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7626, allocations: 0 / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.7628, allocations: 65.45 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7628, allocations: 8.734 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.7628, allocations: 5.156 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7628, allocations: 4.094 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.7629, allocations: 6.188 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.7629, allocations: 3.938 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.763, allocations: 7.891 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.763, allocations: 5.531 kB / 1.222 GB, free: 376 kB / 0.92 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 8.404e-05/0.763, allocations: 122.7 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.7631, allocations: 1.219 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.7633, allocations: 83.77 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7633, allocations: 0 / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7633, allocations: 1.125 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7633, allocations: 0 / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.7635, allocations: 163.2 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7635, allocations: 0 / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.7636, allocations: 13.83 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7636, allocations: 256 / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.7636, allocations: 1.312 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.7636, allocations: 8.031 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7636, allocations: 1.281 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.7638, allocations: 162.4 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.7639, allocations: 78.17 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.7639, allocations: 1.125 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.764, allocations: 11.23 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.764, allocations: 2.156 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.764, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.7641, allocations: 87.92 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.7641, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002328/0.7643, allocations: 9.312 kB / 1.223 GB, free: 15.62 MB / 0.9356 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.0001537/0.7644, allocations: 102.8 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.7647, allocations: 44.83 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7647, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.7647, allocations: 19.58 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.765, allocations: 6.094 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.7653, allocations: 110.2 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.7656, allocations: 0.6776 MB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.7656, allocations: 5.312 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.7657, allocations: 8.469 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.7657, allocations: 0 / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of Templates: time 0.002938/0.7686, allocations: 0.6026 MB / 1.224 GB, free: 14.35 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.4930739114061]