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.034/2.034, allocations: 390.5 MB / 398 MB, free: 10.91 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.0009901/0.0009901, allocations: 176.9 kB / 491.2 MB, free: 1.551 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.243/1.243, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008369/0.0008369, allocations: 91.91 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.835e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6685/0.8767, allocations: 150.5 MB / 1.359 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/0.8769, allocations: 69.47 kB / 1.359 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005939/0.8828, allocations: 2.205 MB / 1.362 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8829, allocations: 3.906 kB / 1.362 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8829, allocations: 3.938 kB / 1.362 GB, free: 32.91 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.0002466/0.8831, allocations: 370.2 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.8832, allocations: 7.875 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.8832, allocations: 11.73 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.894e-05/0.8833, allocations: 164.6 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8833, allocations: 7.984 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.8833, allocations: 0 / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.275e-05/0.8834, allocations: 19.38 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.328e-05/0.8834, allocations: 47.62 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8834, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8835, allocations: 3.969 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.8835, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.8837, allocations: 251.2 kB / 1.362 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/0.8838, allocations: 25.67 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.8838, allocations: 12.08 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.8841, allocations: 0.556 MB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.8842, allocations: 42.19 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8842, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.8843, allocations: 47.25 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.288e-05/0.8843, allocations: 51.41 kB / 1.363 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.889e-05/0.8844, allocations: 99.42 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-06/0.8844, allocations: 25.7 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.8844, allocations: 91.8 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.8845, allocations: 10.8 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.8845, allocations: 0 / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.8845, allocations: 318.2 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.8846, allocations: 3.969 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.8846, allocations: 6.875 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.8846, allocations: 6.844 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8846, allocations: 4.688 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.29e-05/0.8847, allocations: 44.09 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.8847, allocations: 3.844 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8847, allocations: 2.938 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.8847, allocations: 7.938 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.8848, allocations: 3.844 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.8848, allocations: 7.891 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.8849, allocations: 7.031 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.8849, allocations: 7.375 kB / 1.364 GB, free: 30.64 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 4.515e-05/0.8849, allocations: 101.8 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.294e-05/0.885, allocations: 55.39 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.885, allocations: 0 / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.841e-05/0.8851, allocations: 54.69 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.8852, allocations: 3.953 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8852, allocations: 0 / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.8852, allocations: 0 / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.574e-05/0.8853, allocations: 148.7 kB / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8853, allocations: 0 / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.8853, allocations: 7.656 kB / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.8853, allocations: 0 / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.8853, allocations: 0 / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.8853, allocations: 0 / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8854, allocations: 6.891 kB / 1.364 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.8855, allocations: 153.1 kB / 1.364 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.8855, allocations: 77.11 kB / 1.364 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.8855, allocations: 0 / 1.364 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.8856, allocations: 7.219 kB / 1.364 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.8856, allocations: 0 / 1.364 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.8856, allocations: 4.031 kB / 1.364 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.8857, allocations: 97.72 kB / 1.364 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8857, allocations: 0 / 1.364 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000242/0.8859, allocations: 15.62 kB / 1.364 GB, free: 29.96 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.0003465/0.8863, allocations: 0.6757 MB / 1.365 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.8863, allocations: 23.12 kB / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8863, allocations: 0 / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.8864, allocations: 7.094 kB / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.8865, allocations: 0 / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.8868, allocations: 112.8 kB / 1.365 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.887, allocations: 0.6821 MB / 1.366 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.887, allocations: 128 / 1.366 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.8871, allocations: 25.02 kB / 1.366 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.8871, allocations: 0 / 1.366 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.9048, allocations: 0.8312 MB / 1.367 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/0.905, allocations: 126.2 kB / 1.367 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.341/2.246, allocations: 0.875 kB / 1.367 GB, free: 28.23 MB / 0.8386 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