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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.425/2.425, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001164/0.001164, allocations: 176 kB / 0.4901 GB, free: 2.277 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.557/1.557, allocations: 223.1 MB / 0.7992 GB, free: 14.81 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.0008502/0.0008502, allocations: 100.2 kB / 0.9396 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000535/0.0005351, allocations: 10.34 kB / 1.09 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3113, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/0.5352, allocations: 149.7 MB / 1.375 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5354, allocations: 79.95 kB / 1.376 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003586/0.539, allocations: 1.239 MB / 1.377 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.867e-06/0.5391, allocations: 4 kB / 1.377 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5391, allocations: 3.938 kB / 1.377 GB, free: 2.621 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.0004021/0.5395, allocations: 372.2 kB / 1.377 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5395, allocations: 12.02 kB / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.5396, allocations: 30.56 kB / 1.377 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.5396, allocations: 7.953 kB / 1.377 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.5398, allocations: 175 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.5398, allocations: 4 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5398, allocations: 4 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.54, allocations: 57.66 kB / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.54, allocations: 0 / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.54, allocations: 0 / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.54, allocations: 0 / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5402, allocations: 47.91 kB / 1.377 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.5404, allocations: 249 kB / 1.378 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.5407, allocations: 86.52 kB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5407, allocations: 0 / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.5407, allocations: 30.56 kB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.5407, allocations: 0 / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.02823/0.569, allocations: 1.765 MB / 1.38 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.5691, allocations: 51.41 kB / 1.38 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.5692, allocations: 109 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.5693, allocations: 26.08 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.5694, allocations: 88.14 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.5694, allocations: 31.55 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.5695, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5696, allocations: 318.8 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.5701, allocations: 163.9 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.5706, allocations: 159.9 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.5711, allocations: 159.9 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5711, allocations: 3.984 kB / 1.381 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001197/0.5723, allocations: 393.3 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5724, allocations: 4 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5724, allocations: 0 / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5724, allocations: 7.953 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.574, allocations: 75.89 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.574, allocations: 7.938 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.5753, allocations: 59.94 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.5754, allocations: 7.984 kB / 1.381 GB, free: 13.95 MB / 0.8855 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.0001924/0.5756, allocations: 114.4 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.5757, allocations: 4 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.5759, allocations: 20.38 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5759, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5759, allocations: 3.953 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5759, allocations: 4 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.5816, allocations: 0.9154 MB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5816, allocations: 4 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.5827, allocations: 71.84 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.5828, allocations: 0 / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.5828, allocations: 12.05 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5828, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5828, allocations: 4.266 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.5838, allocations: 400.5 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.5839, allocations: 81.09 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.5839, allocations: 7.938 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.585, allocations: 47.89 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.585, allocations: 0 / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.5851, allocations: 11.97 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.5851, allocations: 103.3 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5851, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004491/0.5856, allocations: 99.94 kB / 1.383 GB, free: 11.94 MB / 0.8855 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.001479/0.5871, allocations: 1.09 MB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009969/0.5881, allocations: 279.8 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5881, allocations: 0 / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.5885, allocations: 120 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.5887, allocations: 13.83 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5938, allocations: 1.615 MB / 1.386 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.5941, allocations: 0.6888 MB / 1.387 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005516/0.5946, allocations: 59.84 kB / 1.387 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.5951, allocations: 35.38 kB / 1.387 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/0.5951, allocations: 0 / 1.387 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.6172, allocations: 9.02 MB / 1.396 GB, free: 15 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6175, allocations: 199.6 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.679, allocations: 0 / 1.396 GB, free: 14.75 MB / 0.9011 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat does not exist to compare? outputFormat=mat