Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",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.509/2.509, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001103/0.001103, allocations: 187.1 kB / 0.4901 GB, free: 2.246 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.705/1.705, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.001014/0.001014, allocations: 87.27 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 10.44 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.5377, allocations: 151.2 MB / 1.377 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.538, allocations: 75.95 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.006943/0.545, allocations: 2.228 MB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.765e-06/0.545, allocations: 0 / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.545, allocations: 8 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004495/0.5455, allocations: 368 kB / 1.38 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5456, allocations: 8.562 kB / 1.38 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.5456, allocations: 34.55 kB / 1.38 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.5457, allocations: 11.86 kB / 1.38 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.5458, allocations: 178.9 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5458, allocations: 4 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.5459, allocations: 4 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.546, allocations: 57.67 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.546, allocations: 0 / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.5461, allocations: 0 / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5461, allocations: 4 kB / 1.38 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.5462, allocations: 23.98 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.5466, allocations: 284.7 kB / 1.38 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.5467, allocations: 38.5 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/0.5473, allocations: 0.5584 MB / 1.381 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5473, allocations: 38.5 kB / 1.381 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.5473, allocations: 0 / 1.381 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002763/0.5476, allocations: 81.47 kB / 1.381 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.5476, allocations: 51.41 kB / 1.381 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5478, allocations: 108.9 kB / 1.381 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.5478, allocations: 29.7 kB / 1.381 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.5478, allocations: 96.2 kB / 1.381 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.5479, allocations: 7.891 kB / 1.381 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.5479, allocations: 0 / 1.381 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.548, allocations: 318.8 kB / 1.381 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.5481, allocations: 11.98 kB / 1.381 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.5481, allocations: 8 kB / 1.381 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.5482, allocations: 20.05 kB / 1.381 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5482, allocations: 0 / 1.381 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001361/0.5483, allocations: 57.62 kB / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5483, allocations: 4.938 kB / 1.382 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5484, allocations: 0 / 1.382 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5484, allocations: 7.953 kB / 1.382 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.5485, allocations: 4 kB / 1.382 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.5485, allocations: 8.016 kB / 1.382 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.5485, allocations: 4 kB / 1.382 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.5485, allocations: 0 / 1.382 GB, free: 8.914 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 (2): * Single equations (assignments): 2 * 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 9.254e-05/0.5486, allocations: 113.8 kB / 1.382 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.5487, allocations: 3.906 kB / 1.382 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.5488, allocations: 69.14 kB / 1.382 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5489, allocations: 4.031 kB / 1.382 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.5489, allocations: 7.953 kB / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5489, allocations: 0 / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.5491, allocations: 161.7 kB / 1.382 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5491, allocations: 0 / 1.382 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.5491, allocations: 7.984 kB / 1.382 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5491, allocations: 0 / 1.382 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5492, allocations: 4 kB / 1.382 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5492, allocations: 3.938 kB / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5492, allocations: 0 / 1.382 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.5494, allocations: 167.4 kB / 1.382 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.5494, allocations: 81.09 kB / 1.382 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5495, allocations: 4 kB / 1.382 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.5495, allocations: 3.938 kB / 1.382 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.5496, allocations: 8 kB / 1.382 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5496, allocations: 7.969 kB / 1.382 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.5497, allocations: 99.59 kB / 1.382 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5497, allocations: 0 / 1.382 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002259/0.5499, allocations: 23.92 kB / 1.382 GB, free: 8.062 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 (2): * Single equations (assignments): 2 * 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.0005811/0.5505, allocations: 0.7017 MB / 1.383 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.5507, allocations: 27.92 kB / 1.383 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5507, allocations: 0 / 1.383 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.5507, allocations: 16 kB / 1.383 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.5509, allocations: 2.266 kB / 1.383 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.5518, allocations: 478.7 kB / 1.383 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.5521, allocations: 0.6925 MB / 1.384 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.5522, allocations: 4 kB / 1.384 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.5522, allocations: 15.44 kB / 1.384 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of SimCode: time 2.91e-07/0.5522, allocations: 0 / 1.384 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.5662, allocations: 1.236 MB / 1.385 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.5664, allocations: 167.1 kB / 1.386 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.086, allocations: 5.438 kB / 1.386 GB, free: 4.668 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat does not exist to compare? outputFormat=mat