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.12/2.12, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001033/0.001033, allocations: 176.5 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0007977/0.0007977, allocations: 91.58 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.376e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2278, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6879/0.9158, allocations: 150.3 MB / 1.366 GB, free: 3.734 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.916, allocations: 86.06 kB / 1.366 GB, free: 3.684 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00482/0.9208, allocations: 1.713 MB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9209, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.9209, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.823 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.0002572/0.9211, allocations: 342.2 kB / 1.368 GB, free: 1.84 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.9212, allocations: 8.031 kB / 1.368 GB, free: 1.832 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.9212, allocations: 34.56 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.9213, allocations: 7.953 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.9214, allocations: 162.7 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.9214, allocations: 0 / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-06/0.9214, allocations: 0 / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.132e-05/0.9215, allocations: 29.69 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.9215, allocations: 4 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.9215, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.9215, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.9215, allocations: 7.938 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.9217, allocations: 145.6 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.9217, allocations: 22.23 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.9217, allocations: 4.859 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/0.9222, allocations: 0.5584 MB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.9222, allocations: 42.25 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.9222, allocations: 0 / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.9223, allocations: 33.64 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.9224, allocations: 51.41 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.9224, allocations: 85 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.9224, allocations: 25.7 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.9225, allocations: 80.14 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.9225, allocations: 8.703 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.9225, allocations: 4.031 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9226, allocations: 318.8 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.9227, allocations: 6.688 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-06/0.9227, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.561e-05/0.9227, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.9227, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.048e-05/0.9228, allocations: 33.7 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.9228, allocations: 4 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9228, allocations: 96 / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9228, allocations: 4 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.353e-05/0.9229, allocations: 7.938 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9229, allocations: 3.938 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.9229, allocations: 0.875 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.9229, allocations: 0 / 1.369 GB, free: 15.88 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 5.774e-05/0.923, allocations: 112.9 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.923, allocations: 0 / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-05/0.9231, allocations: 48.34 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9231, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9231, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.9231, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.35e-05/0.9232, allocations: 155.9 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.9232, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.9232, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9232, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.9232, allocations: 4 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9232, allocations: 3.938 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9232, allocations: 32 / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.994e-05/0.9233, allocations: 60.44 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.9233, allocations: 85.05 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-06/0.9234, allocations: 4 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.9234, allocations: 0 / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.9234, allocations: 0 / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.9234, allocations: 0 / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.9234, allocations: 79.31 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9234, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000165/0.9236, allocations: 11.94 kB / 1.37 GB, free: 15.24 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.0003753/0.924, allocations: 0.6081 MB / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.791e-05/0.9241, allocations: 7.984 kB / 1.37 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9241, allocations: 4.094 kB / 1.37 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.9241, allocations: 4 kB / 1.37 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.731e-05/0.9242, allocations: 7.984 kB / 1.37 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.9244, allocations: 74.66 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.9247, allocations: 0.6809 MB / 1.371 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.9247, allocations: 0 / 1.371 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.9247, allocations: 19.38 kB / 1.371 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/0.9247, allocations: 0 / 1.371 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.9354, allocations: 0.8109 MB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.9357, allocations: 161 kB / 1.372 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.31/2.246, allocations: 0 / 1.372 GB, free: 12.86 MB / 0.8386 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