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.303/2.303, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001257/0.001257, allocations: 180.9 kB / 487.4 MB, free: 5.027 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.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008617, allocations: 95.2 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.327e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2782, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9153/1.194, allocations: 148.2 MB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.194, allocations: 79.14 kB / 1.351 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004291/1.198, allocations: 1.235 MB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.198, allocations: 0 / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.198, allocations: 9.25 kB / 1.352 GB, free: 33.8 MB / 0.8386 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.0003394/1.199, allocations: 358.3 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.199, allocations: 10.41 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/1.199, allocations: 6.562 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.199, allocations: 177 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.199, allocations: 1.312 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/1.199, allocations: 1.312 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.777e-05/1.199, allocations: 16.23 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/1.199, allocations: 45.92 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.199, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.199, allocations: 1.312 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.199, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/1.199, allocations: 231.3 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/1.199, allocations: 44.47 kB / 1.353 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/1.2, allocations: 18.45 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/1.2, allocations: 3.078 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/1.2, allocations: 34.81 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.2, allocations: 0 / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.01614/1.216, allocations: 1.203 MB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/1.216, allocations: 51.41 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.216, allocations: 114 kB / 1.354 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/1.216, allocations: 25.7 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/1.216, allocations: 92.78 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/1.216, allocations: 21.03 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/1.216, allocations: 0 / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.216, allocations: 320.8 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/1.217, allocations: 113 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/1.217, allocations: 115.8 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/1.217, allocations: 165.4 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.218, allocations: 0 / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001041/1.219, allocations: 324 kB / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.219, allocations: 7.688 kB / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.219, allocations: 0 / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.219, allocations: 0 / 1.355 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.22, allocations: 68.83 kB / 1.355 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.22, allocations: 3.844 kB / 1.355 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.221, allocations: 52.53 kB / 1.356 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/1.222, allocations: 5.438 kB / 1.356 GB, free: 32.15 MB / 0.8386 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 () * 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.0001784/1.222, allocations: 105 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001037/1.223, allocations: 318.5 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/1.223, allocations: 4.578 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/1.223, allocations: 18.05 kB / 1.356 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.223, allocations: 0 / 1.356 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.223, allocations: 8.578 kB / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.223, allocations: 0 / 1.356 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/1.228, allocations: 0.8188 MB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.228, allocations: 3.844 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.23, allocations: 66.16 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.23, allocations: 0 / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/1.23, allocations: 5.203 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.23, allocations: 4.594 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.23, allocations: 0 / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/1.23, allocations: 342.1 kB / 1.357 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/1.231, allocations: 82.53 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/1.231, allocations: 0.7969 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.232, allocations: 47.25 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/1.232, allocations: 5.859 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/1.232, allocations: 4.594 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.503e-05/1.232, allocations: 95.73 kB / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.232, allocations: 0 / 1.357 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004017/1.232, allocations: 101 kB / 1.358 GB, free: 31.29 MB / 0.8386 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 () * 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.001328/1.234, allocations: 1.036 MB / 1.359 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005917/1.234, allocations: 181.6 kB / 1.359 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.234, allocations: 0 / 1.359 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/1.234, allocations: 65.53 kB / 1.359 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/1.235, allocations: 11.83 kB / 1.359 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/1.237, allocations: 290.7 kB / 1.359 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/1.237, allocations: 0.6875 MB / 1.36 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004922/1.238, allocations: 54.17 kB / 1.36 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/1.238, allocations: 22.73 kB / 1.36 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.238, allocations: 0 / 1.36 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/1.266, allocations: 7.946 MB / 1.368 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.266, allocations: 145.7 kB / 1.368 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/3.149, allocations: 1.312 kB / 1.368 GB, free: 29.08 MB / 0.8386 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