Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.449/2.449, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001139/0.001139, allocations: 182.9 kB / 0.4902 GB, free: 2.199 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.588/1.588, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001019/0.001019, allocations: 88.28 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 10.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.4748, allocations: 150.3 MB / 1.376 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4751, allocations: 79.95 kB / 1.376 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005148/0.4802, allocations: 1.732 MB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4803, allocations: 0 / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.4803, allocations: 0 / 1.378 GB, free: 1.262 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002689/0.4806, allocations: 339.4 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4806, allocations: 12.56 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.4807, allocations: 30.56 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.4807, allocations: 3.953 kB / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.4808, allocations: 163.1 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4808, allocations: 4 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.4808, allocations: 0 / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.4809, allocations: 29.7 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.4809, allocations: 3.938 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.4809, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4809, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.481, allocations: 4 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.4811, allocations: 153.6 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.571e-05/0.4812, allocations: 18.58 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.4816, allocations: 0.5584 MB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4816, allocations: 30.56 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.4817, allocations: 3.938 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.4818, allocations: 37.64 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.4818, allocations: 59.45 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.418e-05/0.4819, allocations: 89 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.4819, allocations: 25.7 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.4819, allocations: 84.14 kB / 1.379 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.4819, allocations: 0 / 1.379 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-06/0.4819, allocations: 0 / 1.379 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.482, allocations: 314.8 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.4821, allocations: 4 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.4821, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/0.4821, allocations: 4.062 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4821, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.775e-05/0.4822, allocations: 37.64 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4822, allocations: 7.984 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4822, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4822, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.4823, allocations: 4 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4823, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.4823, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.4823, allocations: 0 / 1.38 GB, free: 14.92 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 (1): * Single equations (assignments): 1 * 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 7.441e-05/0.4824, allocations: 121.8 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.4824, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.4825, allocations: 48.64 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4825, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4825, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4825, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.738e-05/0.4826, allocations: 153.6 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4826, allocations: 4.031 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.4827, allocations: 0 / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4827, allocations: 3.984 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4827, allocations: 4 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4827, allocations: 4 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4827, allocations: 0 / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.87e-05/0.4827, allocations: 49.14 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.4828, allocations: 81.06 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.4828, allocations: 15.95 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-06/0.4828, allocations: 0 / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.4828, allocations: 4 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.4828, allocations: 0 / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.4829, allocations: 79.22 kB / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.4829, allocations: 0 / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001943/0.4831, allocations: 12 kB / 1.38 GB, free: 14.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003849/0.4835, allocations: 0.6092 MB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.497e-05/0.4835, allocations: 4 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4835, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.4836, allocations: 7.938 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.459e-05/0.4837, allocations: 3.938 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.4839, allocations: 119.7 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.4842, allocations: 0.6692 MB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.4842, allocations: 7.984 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.4842, allocations: 7.438 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.4842, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.4959, allocations: 0.8129 MB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.4961, allocations: 197.6 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/1.962, allocations: 0 / 1.383 GB, free: 11.82 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat does not exist to compare? outputFormat=mat