Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 249.3 MB / 261.9 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 85.45 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.466e-05/4.47e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.257, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7849/1.042, allocations: 132.6 MB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/1.042, allocations: 86.98 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01959/1.062, allocations: 3.513 MB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/1.062, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.062, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005235/1.063, allocations: 395.4 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.063, allocations: 12.03 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/1.063, allocations: 3.906 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.063, allocations: 167 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.063, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/1.063, allocations: 8 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/1.063, allocations: 65.16 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.063, allocations: 3.984 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/1.063, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.063, allocations: 3.984 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/1.063, allocations: 30.98 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/1.064, allocations: 160.9 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.064, allocations: 49.25 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.064, allocations: 47.42 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/1.064, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.064, allocations: 34.56 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/1.064, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003912/1.064, allocations: 126.8 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.064, allocations: 81.11 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.065, allocations: 107.2 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/1.065, allocations: 25.7 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/1.065, allocations: 90.86 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/1.065, allocations: 30.72 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/1.065, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.065, allocations: 310.8 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/1.065, allocations: 27.59 kB / 1.027 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/1.065, allocations: 22.92 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/1.065, allocations: 64.31 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.065, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003233/1.066, allocations: 125.5 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/1.066, allocations: 45.25 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.066, allocations: 3.938 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.066, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-06/1.066, allocations: 3.938 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.066, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/1.066, allocations: 4 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/1.066, allocations: 11.98 kB / 1.027 GB, free: 12.73 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001453/1.066, allocations: 140.7 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/1.066, allocations: 7.906 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/1.066, allocations: 16.05 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.066, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.066, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.066, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/1.067, allocations: 169.7 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.067, allocations: 3.953 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/1.067, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.067, allocations: 3.938 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.067, allocations: 7.984 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/1.067, allocations: 4 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.067, allocations: 400 / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/1.067, allocations: 180.8 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/1.067, allocations: 88.97 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/1.067, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/1.067, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/1.067, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/1.067, allocations: 15.23 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.4e-05/1.067, allocations: 83.28 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.067, allocations: 4.031 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006221/1.068, allocations: 82.48 kB / 1.028 GB, free: 11.86 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005226/1.069, allocations: 182.2 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003508/1.069, allocations: 168.9 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.069, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.069, allocations: 135.2 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/1.069, allocations: 3.938 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/1.07, allocations: 121 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.07, allocations: 0.6887 MB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.855e-06/1.07, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/1.07, allocations: 7.438 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/1.07, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.007079/1.077, allocations: 1.839 MB / 1.031 GB, free: 8.746 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches