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 2.431/2.431, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001028/0.001028, allocations: 180.1 kB / 498.1 MB, free: 5.75 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.59/1.59, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001081/0.001081, allocations: 91.95 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 13.17 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.4548, allocations: 149.5 MB / 1.369 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.455, allocations: 79.95 kB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005171/0.4602, allocations: 1.725 MB / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.837e-06/0.4603, allocations: 0 / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4603, allocations: 3.938 kB / 1.371 GB, free: 10.68 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.0002931/0.4606, allocations: 335.4 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4606, allocations: 12.03 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.4607, allocations: 30.56 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.4607, allocations: 7.953 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.4608, allocations: 163.1 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4608, allocations: 7.938 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.4608, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.4609, allocations: 29.7 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4609, allocations: 0 / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.461, allocations: 0 / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.461, allocations: 3.938 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.461, allocations: 0 / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.4611, allocations: 161.5 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.4612, allocations: 22.58 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004713/0.4617, allocations: 0.5545 MB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4617, allocations: 30.56 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.4617, allocations: 0 / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/0.4618, allocations: 45.62 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.4619, allocations: 51.53 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.134e-05/0.4619, allocations: 89 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.4619, allocations: 25.7 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.462, allocations: 80.14 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.462, allocations: 3.906 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.462, allocations: 0 / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4621, allocations: 314.8 kB / 1.373 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.4621, allocations: 4 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.4622, allocations: 0 / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.633e-05/0.4622, allocations: 4.062 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4622, allocations: 0 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.225e-05/0.4622, allocations: 41.69 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4623, allocations: 4 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4623, allocations: 0 / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4623, allocations: 0 / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.4623, allocations: 7.938 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4624, allocations: 0 / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.4624, allocations: 0 / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.4624, allocations: 0 / 1.373 GB, free: 8.336 MB / 0.8698 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.327e-05/0.4625, allocations: 113.8 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.4625, allocations: 4 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.4626, allocations: 40.81 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4626, allocations: 0 / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4626, allocations: 3.938 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4626, allocations: 4 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.589e-05/0.4627, allocations: 149.6 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4627, allocations: 4.031 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.4627, allocations: 3.984 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4628, allocations: 0 / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4628, allocations: 0 / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4628, allocations: 4 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4628, allocations: 3.938 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.128e-05/0.4629, allocations: 53.14 kB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.4629, allocations: 89.08 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4629, allocations: 7.938 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.4629, allocations: 0 / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.463, allocations: 0 / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.463, allocations: 0 / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.463, allocations: 75.28 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.463, allocations: 0 / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001983/0.4632, allocations: 15.94 kB / 1.373 GB, free: 7.672 MB / 0.8698 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.0004288/0.4636, allocations: 0.6083 MB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.4637, allocations: 4 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4637, allocations: 0 / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.317e-06/0.4637, allocations: 4 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.347e-05/0.4638, allocations: 1.547 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.4641, allocations: 124 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.4644, allocations: 0.677 MB / 1.375 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.4644, allocations: 4 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.4644, allocations: 11.38 kB / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/0.4644, allocations: 0 / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.4759, allocations: 0.8044 MB / 1.375 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.4761, allocations: 191.4 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.973, allocations: 0 / 1.376 GB, free: 5.227 MB / 0.8698 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