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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001042/0.001042, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.0009211/0.0009211, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.38 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2273, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002291/0.2296, allocations: 1.447 MB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003503/0.23, allocations: 194.4 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.23, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.2301, allocations: 3.938 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.2301, allocations: 0 / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2304, allocations: 43.83 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.2304, allocations: 23.92 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.2305, allocations: 4 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.2305, allocations: 15.98 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.481e-05/0.2306, allocations: 19.86 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2306, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.2307, allocations: 31.97 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.2307, allocations: 0 / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.2307, allocations: 15.92 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.579e-05/0.2308, allocations: 43.88 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2308, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2308, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2308, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 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.0003714/0.2312, allocations: 347.4 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.2312, allocations: 8.031 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.2313, allocations: 4.844 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.2314, allocations: 164.4 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-06/0.2314, allocations: 384 / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.2314, allocations: 384 / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2316, allocations: 50.23 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.2316, allocations: 192 / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.2316, allocations: 7.938 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2316, allocations: 4 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.2317, allocations: 43.88 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.232, allocations: 240.9 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.2321, allocations: 46.53 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.2322, allocations: 24.91 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.2323, allocations: 85.09 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2323, allocations: 38.48 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2323, allocations: 0 / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002946/0.2326, allocations: 81.56 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.2326, allocations: 59.47 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.2327, allocations: 105.8 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2327, allocations: 25.7 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.2328, allocations: 84.08 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.2328, allocations: 3.906 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2328, allocations: 21.7 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.2329, allocations: 310.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.233, allocations: 23.98 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.2331, allocations: 11.98 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2332, allocations: 44.75 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2332, allocations: 0 / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.2334, allocations: 69.67 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2334, allocations: 7.984 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2334, allocations: 0 / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2334, allocations: 0 / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.2335, allocations: 12 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2335, allocations: 0 / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.2335, allocations: 7.984 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.2335, allocations: 0 / 0.9548 GB, free: 4.078 MB / 0.7325 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.773e-05/0.2336, allocations: 109.8 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.2336, allocations: 8.281 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.2338, allocations: 76.7 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2338, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2339, allocations: 8 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2339, allocations: 0 / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.234, allocations: 161.5 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.234, allocations: 0 / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.2341, allocations: 7.984 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2341, allocations: 8.031 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2341, allocations: 0 / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2341, allocations: 0 / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2341, allocations: 0 / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.2343, allocations: 171.3 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.2343, allocations: 77.11 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.2343, allocations: 4.031 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.2344, allocations: 7.984 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.2344, allocations: 4 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.2345, allocations: 0 / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.2345, allocations: 87.27 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2345, allocations: 3.938 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002081/0.2347, allocations: 12 kB / 0.9555 GB, free: 3.246 MB / 0.7325 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.0001193/0.2348, allocations: 107.2 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.235, allocations: 39.89 kB / 0.9556 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.235, allocations: 0 / 0.9556 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.2351, allocations: 23.92 kB / 0.9556 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2353, allocations: 7.938 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.2355, allocations: 109.7 kB / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.2357, allocations: 0.6844 MB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.2358, allocations: 0 / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.2358, allocations: 7.438 kB / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2358, allocations: 0 / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of Templates: time 0.002349/0.2381, allocations: 0.5733 MB / 0.957 GB, free: 1.641 MB / 0.7325 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches