Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, 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.001511/0.001511, 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6425, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006295/0.6432, allocations: 368.1 kB / 0.954 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000322/0.6435, allocations: 179.1 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.6435, allocations: 0 / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.6436, allocations: 3.938 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.6437, allocations: 9.344 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.6439, allocations: 61.88 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.247e-05/0.6439, allocations: 18.19 kB / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.644, allocations: 1.469 kB / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.644, allocations: 13.66 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.6441, allocations: 31.05 kB / 0.9543 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.6441, allocations: 1.344 kB / 0.9543 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.6442, allocations: 101.2 kB / 0.9544 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.6442, allocations: 9.094 kB / 0.9544 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.6443, allocations: 31.7 kB / 0.9544 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.6444, allocations: 69.25 kB / 0.9545 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.6444, allocations: 0 / 0.9545 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6444, allocations: 2.094 kB / 0.9545 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.6444, allocations: 3.938 kB / 0.9545 GB, free: 7.473 MB / 0.7169 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.0003881/0.6448, allocations: 366.2 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6448, allocations: 9.312 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.6449, allocations: 35.72 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.6449, allocations: 10.33 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.645, allocations: 175.2 kB / 0.955 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.645, allocations: 0.9062 kB / 0.955 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.645, allocations: 2.312 kB / 0.955 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.6452, allocations: 58.67 kB / 0.9551 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6452, allocations: 0 / 0.9551 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.6452, allocations: 0.9688 kB / 0.9551 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6452, allocations: 1.156 kB / 0.9551 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.6454, allocations: 51.77 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.6456, allocations: 250.2 kB / 0.9554 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.6458, allocations: 81.25 kB / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.6458, allocations: 1.375 kB / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.6458, allocations: 32.25 kB / 0.9555 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6458, allocations: 0 / 0.9555 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02825/0.6741, allocations: 1.76 MB / 0.9572 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.6741, allocations: 57.19 kB / 0.9573 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.6742, allocations: 122.6 kB / 0.9574 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.6743, allocations: 27.02 kB / 0.9574 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.6743, allocations: 89.61 kB / 0.9575 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.6744, allocations: 23.11 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.6745, allocations: 4 kB / 0.9575 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.6745, allocations: 312.5 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.675, allocations: 162.5 kB / 0.958 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.6755, allocations: 163.3 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.676, allocations: 155 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.676, allocations: 1.375 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001183/0.6772, allocations: 388.7 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6772, allocations: 8.953 kB / 0.9587 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6772, allocations: 1 kB / 0.9587 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6773, allocations: 1.031 kB / 0.9587 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.6789, allocations: 80.58 kB / 0.9587 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6789, allocations: 4.969 kB / 0.9587 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.6804, allocations: 57.5 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.6804, allocations: 6.766 kB / 0.9588 GB, free: 4.562 MB / 0.7169 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.0001855/0.6806, allocations: 124.8 kB / 0.9589 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.653e-05/0.6807, allocations: 6.781 kB / 0.9589 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.6809, allocations: 22.33 kB / 0.9589 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6809, allocations: 1.031 kB / 0.9589 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6809, allocations: 1.094 kB / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6809, allocations: 7.938 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/0.6869, allocations: 0.9139 MB / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6869, allocations: 0 / 0.9599 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.6881, allocations: 71.81 kB / 0.9599 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.6881, allocations: 1 kB / 0.9599 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.6882, allocations: 15.22 kB / 0.9599 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6882, allocations: 4.812 kB / 0.9599 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6882, allocations: 1.5 kB / 0.9599 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.6891, allocations: 393.8 kB / 0.9603 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.6892, allocations: 83.14 kB / 0.9604 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.6892, allocations: 2.656 kB / 0.9604 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6903, allocations: 47.3 kB / 0.9604 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.6904, allocations: 14.53 kB / 0.9605 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.6904, allocations: 7.609 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.6905, allocations: 97.36 kB / 0.9606 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6905, allocations: 0 / 0.9606 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004405/0.6909, allocations: 94.44 kB / 0.9606 GB, free: 3.203 MB / 0.7169 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.001227/0.6922, allocations: 1.077 MB / 0.9617 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009558/0.6931, allocations: 281.1 kB / 0.962 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6931, allocations: 0 / 0.962 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.6935, allocations: 120.2 kB / 0.9621 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.6937, allocations: 5.422 kB / 0.9621 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.6987, allocations: 1.616 MB / 0.9637 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.6988, allocations: 0.6863 MB / 0.9643 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005531/0.6994, allocations: 55 kB / 0.9644 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.6999, allocations: 39.16 kB / 0.9644 GB, free: 312 kB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6999, allocations: 1.031 kB / 0.9644 GB, free: 312 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.7202, allocations: 9.011 MB / 0.9732 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.7206, allocations: 200.3 kB / 0.9734 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.696, allocations: 0 / 0.9734 GB, free: 11.29 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat does not exist to compare? outputFormat=mat