Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001074/0.001074, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001295/0.001295, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8682/0.8682, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.824e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002584/0.002622, allocations: 1.464 MB / 0.9531 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.003054, allocations: 195.3 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.003095, allocations: 0 / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.003132, allocations: 3.938 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.003179, allocations: 4 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.003445, allocations: 31.91 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.003509, allocations: 27.86 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.003601, allocations: 7.984 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.003656, allocations: 15.92 kB / 0.9534 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.295e-05/0.003689, allocations: 8 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.003702, allocations: 4 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.003784, allocations: 35.95 kB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.003799, allocations: 4 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.003816, allocations: 3.938 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003935, allocations: 51.86 kB / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003939, allocations: 0 / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00394, allocations: 0 / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003944, allocations: 4 kB / 0.9535 GB, free: 1.121 MB / 0.9011 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.0003461/0.00429, allocations: 274.2 kB / 0.9538 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.004327, allocations: 8.031 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.004357, allocations: 12.88 kB / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.004432, allocations: 105.8 kB / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.004441, allocations: 384 / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.004449, allocations: 384 / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.004566, allocations: 50.23 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004573, allocations: 192 / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004582, allocations: 4.375 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004586, allocations: 384 / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.004672, allocations: 31.91 kB / 0.954 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.004923, allocations: 204.6 kB / 0.9542 GB, free: 360 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.546e-05/0.004998, allocations: 34.56 kB / 0.9542 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.005045, allocations: 24.89 kB / 0.9542 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.005102, allocations: 4 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.00512, allocations: 30.56 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.00512, allocations: 0 / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002178/0.005338, allocations: 105.4 kB / 0.9544 GB, free: 132 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.005367, allocations: 51.41 kB / 0.9544 GB, free: 68 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.005437, allocations: 106 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.005445, allocations: 25.7 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.005481, allocations: 84.14 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.005499, allocations: 3.953 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.005522, allocations: 13.72 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.005595, allocations: 314.8 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.005636, allocations: 20.09 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.005673, allocations: 20.05 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.005745, allocations: 36.83 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005746, allocations: 0 / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.997e-05/0.005846, allocations: 73.59 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.005858, allocations: 8.031 kB / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005862, allocations: 11.94 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005873, allocations: 0 / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.005931, allocations: 7.984 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.005935, allocations: 0 / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.005955, allocations: 4 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.00596, allocations: 3.984 kB / 0.9551 GB, free: 15.3 MB / 0.9167 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.066e-05/0.006011, allocations: 109.8 kB / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.006021, allocations: 0 / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.00615, allocations: 80.91 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006152, allocations: 3.938 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.006155, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.006157, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.205e-05/0.006239, allocations: 117.2 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.00624, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.006261, allocations: 7.984 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006262, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.006269, allocations: 0 / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.00627, allocations: 11.97 kB / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006271, allocations: 0 / 0.9554 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.006388, allocations: 159.5 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006394, allocations: 3.938 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-06/0.006403, allocations: 3.938 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.006438, allocations: 11.92 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.006472, allocations: 4 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.006474, allocations: 0 / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.006501, allocations: 87.31 kB / 0.9557 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006501, allocations: 7.938 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001522/0.006653, allocations: 11.98 kB / 0.9557 GB, free: 14.63 MB / 0.9167 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.0001151/0.006768, allocations: 103.2 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.006884, allocations: 31.97 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006886, allocations: 0 / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.006925, allocations: 24.03 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.007108, allocations: 10.41 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.00734, allocations: 135.1 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.007382, allocations: 63.28 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.007401, allocations: 12.5 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.007402, allocations: 0 / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.001515/0.008917, allocations: 0.6813 MB / 0.9568 GB, free: 13.52 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.369936203584075]