Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.0008745/0.0008743, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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.286/1.286, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008112/0.0008112, allocations: 98.47 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.615e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1937, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6916/0.8853, allocations: 149.5 MB / 1.358 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.8856, allocations: 81.61 kB / 1.359 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004636/0.8902, allocations: 1.716 MB / 1.36 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8902, allocations: 1.422 kB / 1.36 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.8902, allocations: 3.938 kB / 1.36 GB, free: 34.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001567/0.8904, allocations: 334.2 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8904, allocations: 7.688 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.8905, allocations: 34.41 kB / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.595e-05/0.8905, allocations: 1.359 kB / 1.361 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.292e-05/0.8905, allocations: 163 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.8905, allocations: 4.844 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.8906, allocations: 4 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/0.8906, allocations: 29.55 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.8906, allocations: 1.453 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.8907, allocations: 7.875 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.8907, allocations: 0 / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.8907, allocations: 0 / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.175e-05/0.8908, allocations: 150.6 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.569e-05/0.8908, allocations: 17.33 kB / 1.361 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.8908, allocations: 12.55 kB / 1.361 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.8911, allocations: 0.5582 MB / 1.362 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.8911, allocations: 32.16 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.8911, allocations: 0 / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.559e-05/0.8912, allocations: 34.75 kB / 1.362 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.8913, allocations: 55.44 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.304e-05/0.8913, allocations: 85 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.8913, allocations: 29.08 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-06/0.8913, allocations: 83.89 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.8913, allocations: 0.7812 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.8913, allocations: 3.312 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.8914, allocations: 312.3 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.8914, allocations: 0 / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.8914, allocations: 3.969 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.32e-05/0.8914, allocations: 8.016 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8914, allocations: 0 / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.834e-05/0.8915, allocations: 38.83 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.8915, allocations: 3.969 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.8915, allocations: 0 / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.8915, allocations: 0 / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.8915, allocations: 5.203 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.8916, allocations: 0 / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.8916, allocations: 3.906 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.8916, allocations: 6.406 kB / 1.362 GB, free: 32.29 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 (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 4.457e-05/0.8916, allocations: 106.1 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.8916, allocations: 8.906 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/0.8917, allocations: 38.02 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8917, allocations: 3.938 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8917, allocations: 3.938 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.8917, allocations: 1.734 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.278e-05/0.8918, allocations: 150.7 kB / 1.362 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8918, allocations: 7.891 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.8918, allocations: 0 / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.8918, allocations: 0 / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.8918, allocations: 8.625 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8918, allocations: 0 / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.8918, allocations: 0 / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.058e-05/0.8919, allocations: 50.75 kB / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.8919, allocations: 90.41 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.8919, allocations: 0 / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.8919, allocations: 2.875 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.8919, allocations: 0 / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.892, allocations: 3.266 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.892, allocations: 75.28 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.892, allocations: 0 / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000194/0.8922, allocations: 7.75 kB / 1.363 GB, free: 31.69 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: 0 () * Number of discrete 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.0002538/0.8924, allocations: 0.6169 MB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.22e-05/0.8925, allocations: 3.906 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8925, allocations: 0 / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-06/0.8925, allocations: 3.938 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.2e-05/0.8926, allocations: 3.062 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.8928, allocations: 81.83 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.8929, allocations: 0.6747 MB / 1.364 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.893, allocations: 0 / 1.364 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.893, allocations: 8.797 kB / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.893, allocations: 0 / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009934/0.9029, allocations: 0.8176 MB / 1.365 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/0.9031, allocations: 166.2 kB / 1.365 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.211/2.115, allocations: 4 kB / 1.365 GB, free: 29.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat does not exist to compare? outputFormat=mat