Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.001441/0.001441, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 195.4 kB / 16.25 MB, free: 6.641 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.568/2.568, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001417, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8989/0.9003, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003022/0.9034, allocations: 1.503 MB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000429/0.9038, allocations: 187.5 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.9039, allocations: 0 / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.9039, allocations: 3.938 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.904, allocations: 1.625 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.9043, allocations: 36.42 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.9044, allocations: 18.91 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.9045, allocations: 6.703 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.9045, allocations: 14.69 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.9046, allocations: 8.109 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.9046, allocations: 1.375 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.9047, allocations: 36.47 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.9047, allocations: 13.3 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.9048, allocations: 14.67 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.9049, allocations: 33.52 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9049, allocations: 1.375 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9049, allocations: 0 / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9049, allocations: 3.938 kB / 0.9509 GB, free: 7.66 MB / 0.7169 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.000438/0.9053, allocations: 348.5 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.9054, allocations: 9.625 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.9054, allocations: 2.312 kB / 0.9513 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.9055, allocations: 177.6 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.9056, allocations: 1.75 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.9056, allocations: 5.688 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.9058, allocations: 49.23 kB / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9058, allocations: 192 / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.9058, allocations: 9.312 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9058, allocations: 0 / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.906, allocations: 35.16 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.9063, allocations: 253.2 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.9064, allocations: 44.25 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.9065, allocations: 18.47 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.9066, allocations: 83.84 kB / 0.9519 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.9066, allocations: 34.56 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.9066, allocations: 0 / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.9069, allocations: 85.3 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.907, allocations: 52.78 kB / 0.9521 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.907, allocations: 103.4 kB / 0.9522 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.9071, allocations: 27.08 kB / 0.9522 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.9071, allocations: 89.5 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.9071, allocations: 3.906 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.9071, allocations: 12.47 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.9072, allocations: 316.2 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.9073, allocations: 21.88 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.9073, allocations: 19.06 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.9075, allocations: 38.86 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9075, allocations: 0 / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.9077, allocations: 80.75 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.9077, allocations: 6.438 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.9077, allocations: 0 / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.9077, allocations: 0 / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.9078, allocations: 9.953 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.9078, allocations: 1.156 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.9079, allocations: 3.469 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.9079, allocations: 0 / 0.9528 GB, free: 5.73 MB / 0.7169 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 6.052e-05/0.9079, allocations: 123.7 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.908, allocations: 1.562 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.9082, allocations: 75.31 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9082, allocations: 5.562 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9082, allocations: 3.938 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9082, allocations: 0 / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.9083, allocations: 162.2 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9083, allocations: 0 / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.9084, allocations: 10.53 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9084, allocations: 1.406 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.9084, allocations: 0 / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9084, allocations: 3.984 kB / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9084, allocations: 1.469 kB / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.9086, allocations: 163.2 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.9086, allocations: 88.94 kB / 0.9534 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.9087, allocations: 1.5 kB / 0.9534 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.9087, allocations: 4.188 kB / 0.9534 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.9088, allocations: 5.422 kB / 0.9534 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.9088, allocations: 0 / 0.9534 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.9088, allocations: 83.34 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9088, allocations: 0 / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002184/0.909, allocations: 9.656 kB / 0.9535 GB, free: 4.984 MB / 0.7169 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.0001497/0.9092, allocations: 113.3 kB / 0.9536 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.9094, allocations: 34.53 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9094, allocations: 0 / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.9095, allocations: 23.78 kB / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.9098, allocations: 9.5 kB / 0.9537 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.9101, allocations: 115 kB / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.9102, allocations: 0.6773 MB / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.527e-05/0.9102, allocations: 1.656 kB / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.9103, allocations: 11.42 kB / 0.9544 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9103, allocations: 0 / 0.9544 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.002726/0.913, allocations: 0.525 MB / 0.955 GB, free: 3.746 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches