Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.288/2.288, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001368/0.001368, allocations: 190.9 kB / 0.4901 GB, free: 2.246 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.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.000926/0.0009258, allocations: 89.28 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 11.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3208, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.5203, allocations: 150.9 MB / 1.377 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5206, allocations: 79.94 kB / 1.377 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01019/0.5308, allocations: 3.226 MB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.897e-06/0.5309, allocations: 0 / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.5309, allocations: 4 kB / 1.38 GB, free: 15.34 MB / 0.8855 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.0005316/0.5314, allocations: 450.4 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5315, allocations: 8.562 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.5315, allocations: 34.55 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.5316, allocations: 7.906 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.5317, allocations: 176.7 kB / 1.381 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.5318, allocations: 4 kB / 1.381 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.5318, allocations: 0 / 1.381 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.532, allocations: 101.6 kB / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.532, allocations: 3.938 kB / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.532, allocations: 4 kB / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.5321, allocations: 0 / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.5322, allocations: 63.89 kB / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.5323, allocations: 173.6 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5325, allocations: 82.47 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.5325, allocations: 4 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5325, allocations: 34.56 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5325, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004612/0.533, allocations: 336.3 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.533, allocations: 81.11 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5332, allocations: 133.8 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5332, allocations: 29.69 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.5333, allocations: 92.14 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.5333, allocations: 11.84 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.5333, allocations: 4 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5335, allocations: 322.8 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.5336, allocations: 95.94 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.5337, allocations: 103.9 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.5339, allocations: 159.3 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5339, allocations: 0 / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003612/0.5343, allocations: 308.9 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.5343, allocations: 67.39 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5343, allocations: 8 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5344, allocations: 0 / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.5344, allocations: 3.938 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5344, allocations: 0 / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.5345, allocations: 19.92 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.5345, allocations: 8 kB / 1.383 GB, free: 12.17 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: 1 (i) * Number of discrete states: 0 () * Number of clocked 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.0001292/0.5346, allocations: 147.5 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.5347, allocations: 7.906 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.5347, allocations: 8.25 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5347, allocations: 4 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5347, allocations: 0 / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5347, allocations: 3.984 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.5349, allocations: 173.6 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5349, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-06/0.5349, allocations: 3.984 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5349, allocations: 144 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.5349, allocations: 4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5349, allocations: 4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5349, allocations: 3.984 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.5352, allocations: 230.6 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.5353, allocations: 92.95 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5353, allocations: 4 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.5353, allocations: 4 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.5354, allocations: 7.984 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.5354, allocations: 3.938 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.5355, allocations: 109.3 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5355, allocations: 4.031 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003067/0.5358, allocations: 71.94 kB / 1.384 GB, free: 11.2 MB / 0.8855 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) * Number of clocked states: 0 () * 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.0008198/0.5367, allocations: 0.8256 MB / 1.384 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.5371, allocations: 370.6 kB / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5371, allocations: 96 / 1.385 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.5373, allocations: 139.3 kB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.5374, allocations: 9.031 kB / 1.385 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.538, allocations: 441.6 kB / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5384, allocations: 0.7004 MB / 1.386 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.292e-06/0.5384, allocations: 0 / 1.386 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.5384, allocations: 15.44 kB / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5384, allocations: 0 / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.5526, allocations: 2.81 MB / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.5529, allocations: 191.3 kB / 1.389 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.224, allocations: 0 / 1.389 GB, free: 5.66 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat does not exist to compare? outputFormat=mat