Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 100.1 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.001409/0.001409, allocations: 177.3 kB / 15.95 MB, free: 216 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.527/1.527, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7602, allocations: 153.7 MB / 1.021 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007178/0.761, allocations: 345.3 kB / 1.021 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.7627, allocations: 1.377 MB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.7627, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.985e-05/0.7628, allocations: 3.938 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.7629, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.7635, allocations: 151.7 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.7636, allocations: 23.97 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.7636, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.7637, allocations: 23.92 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.7637, allocations: 23.86 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.7638, allocations: 4 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.7641, allocations: 203.8 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.7641, allocations: 11.92 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.7642, allocations: 25.7 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.7644, allocations: 151.7 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7644, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7644, allocations: 4 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7644, allocations: 0 / 1.023 GB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004101/0.7648, allocations: 392.9 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7649, allocations: 11.98 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.7649, allocations: 4 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.7651, allocations: 174.8 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.7651, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.7651, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.7653, allocations: 77.61 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.7653, allocations: 4 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7653, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7653, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.7654, allocations: 31.97 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.7655, allocations: 165.7 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.7656, allocations: 66.52 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.7656, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.7657, allocations: 34.56 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.7657, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003441/0.766, allocations: 268.4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.7661, allocations: 77.11 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.7662, allocations: 110.1 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.7662, allocations: 29.7 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.7662, allocations: 92.06 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.7663, allocations: 27.56 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.7663, allocations: 3.938 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7664, allocations: 322.9 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.7665, allocations: 31.98 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.7665, allocations: 36.28 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.7666, allocations: 69.73 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7666, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001677/0.7668, allocations: 151.5 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.7668, allocations: 37.69 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.7668, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7669, allocations: 3.953 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.7669, allocations: 4.062 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7669, allocations: 3.938 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.767, allocations: 11.98 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.767, allocations: 4 kB / 1.025 GB, free: 12.41 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 (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.0001029/0.7671, allocations: 147.5 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.7671, allocations: 11.84 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.7672, allocations: 12.36 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7672, allocations: 3.953 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7672, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7672, allocations: 4 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.7673, allocations: 165.6 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7673, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.7673, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.7673, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7673, allocations: 3.984 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7674, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7674, allocations: 3.953 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.7676, allocations: 198.7 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.7676, allocations: 81.02 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.7677, allocations: 8 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.7677, allocations: 11.98 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.7677, allocations: 7.984 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.7677, allocations: 7.953 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.7678, allocations: 91.27 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7678, allocations: 3.938 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002787/0.7681, allocations: 71.98 kB / 1.026 GB, free: 11.47 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 (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.0002888/0.7684, allocations: 163.2 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.7686, allocations: 203.3 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7686, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.7688, allocations: 151.4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.7689, allocations: 6.188 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.7691, allocations: 190.8 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.7694, allocations: 0.6848 MB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.652e-06/0.7694, allocations: 8 kB / 1.027 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-06/0.7694, allocations: 7.438 kB / 1.027 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7694, allocations: 0 / 1.027 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of Templates: time 0.00395/0.7734, allocations: 1.899 MB / 1.029 GB, free: 8.09 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches