Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, 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.001727/0.001727, 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.581/1.581, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.804/2.804, allocations: 436.5 MB / 0.7104 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 15.98 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9222, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008857/0.9232, allocations: 365.3 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004033/0.9236, allocations: 179.4 kB / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.9236, allocations: 0 / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.9236, allocations: 0 / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.9238, allocations: 11.98 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.924, allocations: 55.89 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.9241, allocations: 23.91 kB / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.9241, allocations: 0 / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.9242, allocations: 15.97 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.9243, allocations: 23.92 kB / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.9243, allocations: 4 kB / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.9244, allocations: 107.8 kB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.9245, allocations: 4 kB / 1.022 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.9245, allocations: 37.58 kB / 1.022 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.9246, allocations: 71.92 kB / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.9246, allocations: 0 / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9246, allocations: 0 / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9247, allocations: 0 / 1.022 GB, free: 204 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005204/0.9252, allocations: 365.3 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.9252, allocations: 11.97 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.9253, allocations: 7.906 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.9254, allocations: 175 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.9254, allocations: 4 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.9255, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.9256, allocations: 65.62 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9256, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.9257, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9257, allocations: 3.938 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.9258, allocations: 43.95 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.9261, allocations: 256.9 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.9263, allocations: 70.53 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.9263, allocations: 8 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.9264, allocations: 38.5 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.9264, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.02639/0.9528, allocations: 1.749 MB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.9529, allocations: 51.41 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.953, allocations: 129.7 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.9531, allocations: 25.7 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.9532, allocations: 88.12 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.9533, allocations: 27.61 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.9533, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9535, allocations: 326.8 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.9539, allocations: 155.9 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.9544, allocations: 159.9 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.9549, allocations: 168.4 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9549, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001174/0.9561, allocations: 381.4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9562, allocations: 11.98 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9562, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9562, allocations: 4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.9577, allocations: 79.83 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9577, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.959, allocations: 59.95 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.959, allocations: 11.97 kB / 1.026 GB, free: 11.56 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 (9): * Single equations (assignments): 9 * 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 0.0001948/0.9592, allocations: 121.7 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.9593, allocations: 3.906 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.9595, allocations: 20.38 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9595, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.9595, allocations: 4 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.9595, allocations: 0 / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.9651, allocations: 0.9156 MB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9651, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.9662, allocations: 71.89 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.9662, allocations: 4 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.9663, allocations: 3.984 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.9663, allocations: 0 / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9663, allocations: 4.422 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009426/0.9673, allocations: 404.5 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.9673, allocations: 85.02 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.9674, allocations: 7.953 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.9684, allocations: 43.95 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.9685, allocations: 11.97 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.9685, allocations: 11.98 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.479e-05/0.9686, allocations: 91.36 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9686, allocations: 288 / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004222/0.969, allocations: 99.98 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002489/0.9693, allocations: 115.2 kB / 1.028 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009511/0.9702, allocations: 287.7 kB / 1.028 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9702, allocations: 0 / 1.028 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.9707, allocations: 127.9 kB / 1.028 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.9708, allocations: 9.828 kB / 1.028 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.9737, allocations: 344.4 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.9741, allocations: 0.6887 MB / 1.029 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004854/0.9746, allocations: 52 kB / 1.029 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.975, allocations: 31.38 kB / 1.029 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of SimCode: time 9.32e-07/0.975, allocations: 0 / 1.029 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of Templates: time 0.01241/0.9874, allocations: 8.159 MB / 1.037 GB, free: 15.64 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches