Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Splice",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.253/2.253, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009827/0.0009827, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.569/1.569, allocations: 221.5 MB / 0.7824 GB, free: 1.016 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.0008538/0.0008538, allocations: 91.86 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.037e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3102, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9416/1.252, allocations: 149.7 MB / 1.352 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.252, allocations: 71.53 kB / 1.352 GB, free: 18.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007235/1.259, allocations: 2.206 MB / 1.354 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.259, allocations: 0 / 1.354 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.259, allocations: 0 / 1.354 GB, free: 33.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003223/1.26, allocations: 375.7 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.26, allocations: 7.531 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/1.26, allocations: 3.875 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/1.26, allocations: 167.6 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.26, allocations: 0.75 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/1.26, allocations: 3.844 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.299e-05/1.26, allocations: 19.45 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/1.26, allocations: 43.59 kB / 1.355 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/1.26, allocations: 7.938 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/1.26, allocations: 0 / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.26, allocations: 1.359 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/1.261, allocations: 248.3 kB / 1.355 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/1.261, allocations: 32.42 kB / 1.355 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/1.261, allocations: 17.45 kB / 1.355 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/1.261, allocations: 0.558 MB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.261, allocations: 31.17 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.261, allocations: 3.938 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/1.261, allocations: 47.02 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/1.261, allocations: 55.36 kB / 1.356 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/1.261, allocations: 102.4 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/1.261, allocations: 25.7 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/1.261, allocations: 92.61 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/1.261, allocations: 4.562 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/1.262, allocations: 0 / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.262, allocations: 323.4 kB / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/1.262, allocations: 3.297 kB / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/1.262, allocations: 3.906 kB / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/1.262, allocations: 13.12 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.262, allocations: 0 / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.208e-05/1.262, allocations: 43.16 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.262, allocations: 7.75 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.262, allocations: 0.6094 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.262, allocations: 0 / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/1.262, allocations: 5.219 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.262, allocations: 4.5 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/1.262, allocations: 8.562 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.262, allocations: 4.641 kB / 1.357 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 (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 6.741e-05/1.262, allocations: 104.9 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.439e-05/1.262, allocations: 50.27 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/1.262, allocations: 4.438 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/1.262, allocations: 49.91 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.262, allocations: 0 / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.262, allocations: 3.953 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.262, allocations: 0.7031 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.263, allocations: 158 kB / 1.357 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.263, allocations: 0 / 1.357 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/1.263, allocations: 5.656 kB / 1.357 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.263, allocations: 0 / 1.357 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/1.263, allocations: 4.609 kB / 1.357 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.263, allocations: 0 / 1.357 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.263, allocations: 3.938 kB / 1.357 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/1.263, allocations: 146.7 kB / 1.357 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/1.263, allocations: 85.03 kB / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/1.263, allocations: 0 / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/1.263, allocations: 1.5 kB / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/1.263, allocations: 4.578 kB / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/1.263, allocations: 0.7969 kB / 1.357 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.235e-05/1.263, allocations: 83.61 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.263, allocations: 3.938 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002176/1.263, allocations: 20.36 kB / 1.357 GB, free: 30.85 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 (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.0004434/1.264, allocations: 0.6876 MB / 1.358 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.603e-05/1.264, allocations: 13.03 kB / 1.358 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.264, allocations: 0 / 1.358 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.967e-05/1.264, allocations: 4.5 kB / 1.358 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/1.264, allocations: 11.42 kB / 1.358 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/1.264, allocations: 107.1 kB / 1.358 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/1.265, allocations: 0.6835 MB / 1.359 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.53e-05/1.265, allocations: 7.828 kB / 1.359 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/1.265, allocations: 15.92 kB / 1.359 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.265, allocations: 0 / 1.359 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/1.284, allocations: 0.82 MB / 1.36 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.285, allocations: 136.2 kB / 1.36 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.764, allocations: 0 / 1.36 GB, free: 29.1 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat does not exist to compare? outputFormat=mat