Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, 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.001598/0.001598, 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.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 15.94 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7424, allocations: 153.6 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007927/0.7432, allocations: 341.4 kB / 1.021 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.7449, allocations: 1.334 MB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.745, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.287e-05/0.7451, allocations: 4 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.7451, allocations: 4 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.7457, allocations: 130.6 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.7458, allocations: 27.91 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.7459, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.7459, allocations: 15.98 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.746, allocations: 39.83 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.746, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.7463, allocations: 159.8 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.7464, allocations: 19.92 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.7464, allocations: 29.7 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.7467, allocations: 119.8 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7467, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.706e-06/0.7467, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7467, allocations: 0 / 1.023 GB, free: 14.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005809/0.7473, allocations: 440.4 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7473, allocations: 15.98 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.7474, allocations: 7.906 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.7476, allocations: 170.9 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.7476, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.7477, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7479, allocations: 97.59 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7479, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.7479, allocations: 7.984 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.748, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/0.7481, allocations: 59.95 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.7483, allocations: 181.6 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.7485, allocations: 86.47 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.7485, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.7485, allocations: 30.56 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.7485, allocations: 0 / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005492/0.7491, allocations: 336.3 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.7492, allocations: 89.08 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.7493, allocations: 143.6 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.7494, allocations: 25.7 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.7495, allocations: 96.05 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.7495, allocations: 3.906 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.7495, allocations: 4 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7497, allocations: 318.8 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.7498, allocations: 99.94 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.7499, allocations: 103.9 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.7501, allocations: 171.3 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7501, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000406/0.7505, allocations: 312.9 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.7506, allocations: 75.38 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7507, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.7507, allocations: 7.891 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.7507, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7507, allocations: 11.88 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.7509, allocations: 11.84 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.7509, allocations: 4 kB / 1.026 GB, free: 11.7 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001565/0.7511, allocations: 155.5 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.7511, allocations: 11.91 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.7511, allocations: 8.25 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7511, allocations: 7.953 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7511, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7511, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.7513, allocations: 169.6 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.7513, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.7513, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.7513, allocations: 4 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7513, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7513, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7514, allocations: 3.953 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.7517, allocations: 226.6 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.7517, allocations: 85.02 kB / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.7518, allocations: 0 / 1.026 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.7518, allocations: 11.95 kB / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.7519, allocations: 8 kB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.7519, allocations: 7.953 kB / 1.026 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.255e-05/0.752, allocations: 109.9 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.752, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003813/0.7524, allocations: 63.98 kB / 1.027 GB, free: 10.73 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: 1 (i) * Number of discrete states: 1 (i) * 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.0003295/0.7528, allocations: 155.2 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.7532, allocations: 370.6 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7532, allocations: 4.062 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.7533, allocations: 135.4 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.7535, allocations: 3.938 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.7539, allocations: 211.3 kB / 1.027 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7542, allocations: 0.7004 MB / 1.028 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.422e-06/0.7542, allocations: 4.062 kB / 1.028 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-06/0.7542, allocations: 7.438 kB / 1.028 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.7542, allocations: 0 / 1.028 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of Templates: time 0.004481/0.7587, allocations: 1.878 MB / 1.03 GB, free: 7.191 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches