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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 171.4 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.74/1.74, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 100.8 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 11.38 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 142.4 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5186, allocations: 148.9 MB / 1.368 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.519, allocations: 75.94 kB / 1.368 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004424/0.5235, allocations: 1.244 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5235, allocations: 0 / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.5235, allocations: 0 / 1.37 GB, free: 11.66 MB / 0.8698 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.0005387/0.5241, allocations: 375.2 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.5241, allocations: 8.031 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.5242, allocations: 38.5 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.5242, allocations: 11.86 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.5244, allocations: 171 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.5245, allocations: 8 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.5245, allocations: 0 / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.5247, allocations: 53.67 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5247, allocations: 4 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5248, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.5248, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.5249, allocations: 43.97 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.5254, allocations: 252.9 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.5256, allocations: 78.53 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.5257, allocations: 0 / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.5257, allocations: 38.55 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.5257, allocations: 7.938 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0314/0.5572, allocations: 1.753 MB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.5573, allocations: 55.41 kB / 1.372 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5574, allocations: 112.9 kB / 1.373 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.5575, allocations: 25.7 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.5575, allocations: 95.97 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.5576, allocations: 19.72 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.5577, allocations: 0 / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5578, allocations: 326.8 kB / 1.373 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.5583, allocations: 152.3 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.5588, allocations: 167.8 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.5593, allocations: 163.9 kB / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5593, allocations: 0 / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001185/0.5605, allocations: 385.3 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5605, allocations: 4 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.5605, allocations: 0 / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.5606, allocations: 7.953 kB / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5622, allocations: 79.89 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.5622, allocations: 0 / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.5636, allocations: 47.95 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.5636, allocations: 15.97 kB / 1.374 GB, free: 6.996 MB / 0.8698 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.0001872/0.5638, allocations: 113.8 kB / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.5639, allocations: 3.906 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.5641, allocations: 24.38 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.5641, allocations: 0 / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.5641, allocations: 7.953 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5641, allocations: 0 / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.5701, allocations: 0.9195 MB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5701, allocations: 0 / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.5713, allocations: 75.91 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5713, allocations: 0 / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.5713, allocations: 11.97 kB / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.5714, allocations: 0 / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5714, allocations: 7.938 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/0.5723, allocations: 388.4 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.5724, allocations: 89 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.5725, allocations: 4 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5735, allocations: 43.95 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.5736, allocations: 16.2 kB / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.5736, allocations: 7.984 kB / 1.376 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.835e-05/0.5737, allocations: 99.2 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5737, allocations: 0 / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004475/0.5742, allocations: 99.94 kB / 1.376 GB, free: 4.973 MB / 0.8698 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.001466/0.5756, allocations: 1.093 MB / 1.377 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009697/0.5766, allocations: 275.8 kB / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5766, allocations: 0 / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.577, allocations: 119.8 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.5772, allocations: 17.48 kB / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.5824, allocations: 1.62 MB / 1.379 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.5827, allocations: 0.6887 MB / 1.38 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005286/0.5832, allocations: 55.94 kB / 1.38 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/0.5837, allocations: 39.38 kB / 1.38 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/0.5837, allocations: 0 / 1.38 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.6107, allocations: 9.009 MB / 1.388 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.6109, allocations: 187.8 kB / 1.389 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.569, allocations: 0 / 1.389 GB, free: 7.785 MB / 0.8855 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