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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 8.234 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7602, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001737/0.762, allocations: 1.168 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004885/0.7625, allocations: 192.3 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.7625, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.7625, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.7626, allocations: 11.92 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.7628, allocations: 23.98 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.7629, allocations: 23.92 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.763, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.763, allocations: 7.938 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.7631, allocations: 19.91 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.7631, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.7632, allocations: 31.97 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.7632, allocations: 3.984 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.7633, allocations: 37.64 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.406e-05/0.7634, allocations: 19.95 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.7634, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.026e-06/0.7635, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.7635, allocations: 3.938 kB / 1.025 GB, free: 14.32 MB / 0.7794 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.000529/0.764, allocations: 349.4 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.764, allocations: 8.031 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.7641, allocations: 4.938 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.7642, allocations: 176.2 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7642, allocations: 384 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.7643, allocations: 4.375 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.7645, allocations: 54.23 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7645, allocations: 192 / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.7646, allocations: 7.938 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7646, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.7648, allocations: 47.95 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.7651, allocations: 248.9 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.7653, allocations: 50.48 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.7654, allocations: 28.91 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.7655, allocations: 77.11 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.7655, allocations: 34.56 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7655, allocations: 4 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004007/0.7659, allocations: 97.58 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.7661, allocations: 55.53 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.7662, allocations: 109.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7662, allocations: 25.7 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.7663, allocations: 80.14 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7664, allocations: 3.906 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.7664, allocations: 13.72 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.7666, allocations: 322.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.7667, allocations: 19.98 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.7668, allocations: 23.98 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.7669, allocations: 48.89 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7669, allocations: 3.984 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002571/0.7672, allocations: 85.45 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7672, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7672, allocations: 4.031 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7673, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.7674, allocations: 11.98 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7674, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.7674, allocations: 11.98 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.7674, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 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 0.0001149/0.7676, allocations: 117.8 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.7676, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.7678, allocations: 84.72 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7678, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7679, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7679, allocations: 7.969 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.7681, allocations: 161.6 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7681, allocations: 4.25 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.7682, allocations: 19.97 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7682, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.7682, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7682, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7682, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.7685, allocations: 179.5 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.7685, allocations: 81.02 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.7686, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.7686, allocations: 16.02 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.7687, allocations: 3.938 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.7687, allocations: 3.938 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.7687, allocations: 83.28 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7687, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002276/0.769, allocations: 15.98 kB / 1.028 GB, free: 11.24 MB / 0.7794 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.0001743/0.7692, allocations: 107.2 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.7694, allocations: 51.95 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7694, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.7695, allocations: 23.98 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.7698, allocations: 16.34 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.7701, allocations: 138.3 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.7704, allocations: 0.6731 MB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.7704, allocations: 7.438 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7704, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.002052/0.7725, allocations: 0.6654 MB / 1.03 GB, free: 9.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches