Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_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.001011/0.001011, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001282/0.001283, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.826/2.826, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 12 kB / 0.8707 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9098, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001854/0.9117, allocations: 1.157 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004383/0.9121, allocations: 188.4 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.9122, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.9122, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.9123, allocations: 3.984 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.9125, allocations: 27.91 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.9126, allocations: 15.92 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.9127, allocations: 4 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.9128, allocations: 7.984 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.9128, allocations: 11.94 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.9128, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.9129, allocations: 31.97 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.9129, allocations: 7.969 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.913, allocations: 25.7 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.9131, allocations: 23.95 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.9131, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9131, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.9131, allocations: 0 / 1.022 GB, free: 15.61 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.0004842/0.9136, allocations: 353.2 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9136, allocations: 11.98 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.9137, allocations: 4 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.9139, allocations: 171 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.9139, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.9139, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.9141, allocations: 57.62 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.9141, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.9141, allocations: 3.938 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.9141, allocations: 4 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.9143, allocations: 43.95 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.9147, allocations: 256.8 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.9149, allocations: 46.48 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.915, allocations: 81.17 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.915, allocations: 34.56 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.915, allocations: 4 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.9154, allocations: 93.64 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9155, allocations: 59.47 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.9156, allocations: 105.8 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.9156, allocations: 25.7 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.9156, allocations: 88.14 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.9157, allocations: 3.906 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.9157, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9158, allocations: 310.8 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.9159, allocations: 27.98 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.916, allocations: 23.97 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.9161, allocations: 19.98 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9161, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.9163, allocations: 81.67 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9163, allocations: 10.34 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.9163, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.9163, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.9164, allocations: 16.02 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.9164, allocations: 7.922 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.9165, allocations: 8 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.9165, allocations: 4 kB / 1.024 GB, free: 13.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/0.9166, allocations: 105.8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.9166, allocations: 11.86 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.9169, allocations: 88.77 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9169, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9169, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.9169, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.9171, allocations: 161.6 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9171, allocations: 3.938 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.9172, allocations: 16.02 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.9172, allocations: 7.953 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.9172, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.9172, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9172, allocations: 3.938 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.9174, allocations: 171.5 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.9175, allocations: 81.11 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.9175, allocations: 7.938 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.9176, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.9176, allocations: 4 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9177, allocations: 3.984 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.9177, allocations: 91.31 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9177, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002207/0.9179, allocations: 8 kB / 1.025 GB, free: 12.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001659/0.9181, allocations: 103.2 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.9183, allocations: 55.89 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.9183, allocations: 0 / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.9184, allocations: 23.98 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.9187, allocations: 1.719 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.9189, allocations: 112.8 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.9194, allocations: 0.677 MB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.9194, allocations: 4 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.9194, allocations: 7.438 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of SimCode: time 1.603e-06/0.9194, allocations: 0 / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.002915/0.9224, allocations: 0.5039 MB / 1.026 GB, free: 11.06 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches