Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.152/2.152, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001256/0.001256, allocations: 187.8 kB / 487.4 MB, free: 5.008 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.398/1.398, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 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.0009531/0.0009531, allocations: 102.2 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.337e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9156/1.173, allocations: 149.4 MB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/1.173, allocations: 80.91 kB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01433/1.187, allocations: 3.204 MB / 1.355 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.224e-06/1.187, allocations: 0 / 1.355 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.187, allocations: 3.875 kB / 1.355 GB, free: 33.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005695/1.188, allocations: 434.6 kB / 1.356 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.188, allocations: 11.56 kB / 1.356 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/1.188, allocations: 7.719 kB / 1.356 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.188, allocations: 168 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.188, allocations: 0 / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/1.188, allocations: 3.844 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/1.189, allocations: 59.78 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.189, allocations: 97.91 kB / 1.356 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.189, allocations: 3.938 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.189, allocations: 0 / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.189, allocations: 4 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/1.189, allocations: 164 kB / 1.356 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/1.189, allocations: 77.36 kB / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/1.189, allocations: 64.73 kB / 1.356 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/1.189, allocations: 0.7969 kB / 1.356 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.189, allocations: 34.44 kB / 1.356 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/1.189, allocations: 4 kB / 1.356 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0005837/1.19, allocations: 159.8 kB / 1.356 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/1.19, allocations: 77.91 kB / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.19, allocations: 131 kB / 1.357 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/1.19, allocations: 29.58 kB / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/1.191, allocations: 84.89 kB / 1.357 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/1.191, allocations: 20.23 kB / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/1.191, allocations: 0 / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.191, allocations: 319.6 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/1.191, allocations: 97.5 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/1.191, allocations: 98.28 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/1.192, allocations: 95.25 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.192, allocations: 0 / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006009/1.192, allocations: 254.9 kB / 1.358 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/1.192, allocations: 71.59 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.192, allocations: 0 / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.192, allocations: 0 / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-06/1.192, allocations: 3.516 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.192, allocations: 0 / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/1.193, allocations: 17.34 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/1.193, allocations: 8.391 kB / 1.358 GB, free: 31.92 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001428/1.193, allocations: 136.3 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003633/1.193, allocations: 173.7 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/1.193, allocations: 7.75 kB / 1.358 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/1.193, allocations: 8.188 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.193, allocations: 0 / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.193, allocations: 0 / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.193, allocations: 32 / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/1.193, allocations: 156 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.193, allocations: 0 / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-06/1.193, allocations: 7.891 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.193, allocations: 0 / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.193, allocations: 3.844 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.193, allocations: 2.859 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.193, allocations: 7.922 kB / 1.358 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/1.194, allocations: 194.5 kB / 1.358 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/1.194, allocations: 85.05 kB / 1.358 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/1.194, allocations: 10.67 kB / 1.358 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/1.194, allocations: 3.844 kB / 1.358 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/1.194, allocations: 10.8 kB / 1.358 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/1.194, allocations: 0 / 1.358 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.719e-05/1.194, allocations: 105.4 kB / 1.358 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.194, allocations: 0 / 1.358 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005384/1.195, allocations: 73.91 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001033/1.196, allocations: 0.7882 MB / 1.359 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005263/1.196, allocations: 360.5 kB / 1.36 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.196, allocations: 0 / 1.36 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/1.196, allocations: 136.8 kB / 1.36 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/1.197, allocations: 8.422 kB / 1.36 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/1.197, allocations: 226.8 kB / 1.36 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/1.198, allocations: 0.6998 MB / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.574e-06/1.198, allocations: 0 / 1.361 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/1.198, allocations: 14.06 kB / 1.361 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of SimCode: time 1.252e-06/1.198, allocations: 0 / 1.361 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/1.223, allocations: 2.458 MB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/1.223, allocations: 143.5 kB / 1.363 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.816, allocations: 4 kB / 1.363 GB, free: 29.3 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat does not exist to compare? outputFormat=mat