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.28/2.28, allocations: 387.4 MB / 394.9 MB, free: 13.38 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: 176.8 kB / 487.4 MB, free: 5.043 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.57/1.57, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 87.8 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.537e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.186, allocations: 148.8 MB / 1.351 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.187, allocations: 82.59 kB / 1.351 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00611/1.193, allocations: 1.701 MB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.193, allocations: 2.031 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.109e-06/1.193, allocations: 0 / 1.353 GB, free: 33.68 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.0002717/1.193, allocations: 349 kB / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.193, allocations: 7.75 kB / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/1.193, allocations: 4.469 kB / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/1.193, allocations: 163.8 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.193, allocations: 3.938 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/1.193, allocations: 0.7031 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.935e-05/1.193, allocations: 0 / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.614e-05/1.193, allocations: 30.31 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.193, allocations: 0.7969 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/1.193, allocations: 7.938 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.193, allocations: 0 / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.544e-05/1.193, allocations: 130.3 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/1.194, allocations: 23.12 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/1.194, allocations: 4.859 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/1.194, allocations: 0.5554 MB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.194, allocations: 40.56 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.194, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000145/1.194, allocations: 35.17 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/1.194, allocations: 52.2 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.848e-05/1.194, allocations: 85 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/1.194, allocations: 25.7 kB / 1.355 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/1.194, allocations: 80.14 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/1.194, allocations: 4.812 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/1.194, allocations: 0 / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.194, allocations: 311.6 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/1.194, allocations: 7.188 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/1.194, allocations: 4.453 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/1.194, allocations: 4.875 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.194, allocations: 0 / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.121e-05/1.194, allocations: 35.69 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.195, allocations: 7.75 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.195, allocations: 4 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.195, allocations: 0.7031 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/1.195, allocations: 0 / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.195, allocations: 0.75 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/1.195, allocations: 7.875 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/1.195, allocations: 0 / 1.355 GB, free: 31.52 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 6.53e-05/1.195, allocations: 101.8 kB / 1.355 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.415e-05/1.195, allocations: 42.75 kB / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/1.195, allocations: 0.8281 kB / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.195, allocations: 43.05 kB / 1.355 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.195, allocations: 4.609 kB / 1.355 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.195, allocations: 0 / 1.355 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/1.195, allocations: 0 / 1.355 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.962e-05/1.195, allocations: 123.7 kB / 1.355 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.195, allocations: 4.594 kB / 1.355 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/1.195, allocations: 11.8 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.195, allocations: 4.781 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/1.195, allocations: 4.031 kB / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/1.195, allocations: 0 / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.195, allocations: 2.438 kB / 1.355 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.358e-05/1.195, allocations: 62.55 kB / 1.355 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/1.195, allocations: 77.91 kB / 1.355 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/1.195, allocations: 3.953 kB / 1.356 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-06/1.195, allocations: 0 / 1.356 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/1.195, allocations: 8.703 kB / 1.356 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/1.195, allocations: 0 / 1.356 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.072e-05/1.195, allocations: 75.28 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.195, allocations: 0 / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002064/1.195, allocations: 4.578 kB / 1.356 GB, free: 30.91 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.0004435/1.196, allocations: 0.6079 MB / 1.356 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.926e-05/1.196, allocations: 8.594 kB / 1.356 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.196, allocations: 0 / 1.356 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-06/1.196, allocations: 3.875 kB / 1.356 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/1.196, allocations: 5.5 kB / 1.356 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/1.196, allocations: 75.62 kB / 1.356 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.197, allocations: 0.6752 MB / 1.357 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.396e-05/1.197, allocations: 5.219 kB / 1.357 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/1.197, allocations: 11.25 kB / 1.357 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.197, allocations: 0 / 1.357 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/1.218, allocations: 0.5213 MB / 1.357 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.218, allocations: 144.9 kB / 1.358 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.659, allocations: 7.75 kB / 1.358 GB, free: 29.26 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