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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.556/2.556, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8711, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001749/0.8729, allocations: 1.202 MB / 0.955 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.8739, allocations: 0.5944 MB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.874, allocations: 1.031 kB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.874, allocations: 7.922 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.8741, allocations: 5.344 kB / 0.9556 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.8744, allocations: 53.11 kB / 0.9557 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.8745, allocations: 38.22 kB / 0.9557 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.8746, allocations: 8.25 kB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.8746, allocations: 17.75 kB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.8747, allocations: 12.72 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.8747, allocations: 1.344 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.8749, allocations: 99.31 kB / 0.9558 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.8749, allocations: 4.969 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.875, allocations: 31.89 kB / 0.9559 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.8751, allocations: 66.12 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8751, allocations: 0 / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8751, allocations: 0 / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.8751, allocations: 0 / 0.9559 GB, free: 6.41 MB / 0.7169 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.0003622/0.8755, allocations: 356.6 kB / 0.9563 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8755, allocations: 9.5 kB / 0.9563 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.8756, allocations: 39.95 kB / 0.9563 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.8756, allocations: 5.547 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.8757, allocations: 165.5 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.8757, allocations: 6.125 kB / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.8757, allocations: 2.375 kB / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.8759, allocations: 59.23 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.8759, allocations: 1.031 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.8759, allocations: 0 / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8759, allocations: 5.188 kB / 0.9566 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.876, allocations: 34.19 kB / 0.9566 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.8763, allocations: 279.4 kB / 0.9569 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.8764, allocations: 38.5 kB / 0.9569 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.8765, allocations: 21.36 kB / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.8768, allocations: 0.5635 MB / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.8769, allocations: 30.56 kB / 0.9575 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8769, allocations: 0 / 0.9575 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002486/0.8771, allocations: 81.08 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.8772, allocations: 52.31 kB / 0.9576 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.8773, allocations: 118.4 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.8773, allocations: 25.7 kB / 0.9578 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.8773, allocations: 94.25 kB / 0.9578 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.8773, allocations: 5.906 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.8773, allocations: 128 / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.8774, allocations: 315.8 kB / 0.9582 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.8774, allocations: 15.77 kB / 0.9582 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.8775, allocations: 12.25 kB / 0.9582 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.8775, allocations: 15.05 kB / 0.9582 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.8775, allocations: 1.156 kB / 0.9582 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.8777, allocations: 61.78 kB / 0.9583 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.8777, allocations: 9.234 kB / 0.9583 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8777, allocations: 0.9688 kB / 0.9583 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.8777, allocations: 3.938 kB / 0.9583 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.8778, allocations: 9.828 kB / 0.9583 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8778, allocations: 3.984 kB / 0.9583 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.8778, allocations: 3.031 kB / 0.9583 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.8779, allocations: 5.156 kB / 0.9583 GB, free: 3.879 MB / 0.7169 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 6.309e-05/0.8779, allocations: 117.2 kB / 0.9584 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.878, allocations: 1.375 kB / 0.9584 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.8781, allocations: 69.72 kB / 0.9585 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8781, allocations: 1.156 kB / 0.9585 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8781, allocations: 0 / 0.9585 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8781, allocations: 32 / 0.9585 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.8783, allocations: 177.2 kB / 0.9586 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8783, allocations: 1.25 kB / 0.9586 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.8783, allocations: 8.562 kB / 0.9587 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.8783, allocations: 0.9688 kB / 0.9587 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.8783, allocations: 0 / 0.9587 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8784, allocations: 4.984 kB / 0.9587 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8784, allocations: 0 / 0.9587 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.8785, allocations: 157.5 kB / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.8785, allocations: 86.17 kB / 0.9589 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.8785, allocations: 1.031 kB / 0.9589 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.8786, allocations: 3.219 kB / 0.9589 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.8787, allocations: 9.125 kB / 0.9589 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.8787, allocations: 1.094 kB / 0.9589 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.8787, allocations: 100.8 kB / 0.959 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8787, allocations: 5.125 kB / 0.959 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002295/0.8789, allocations: 8.594 kB / 0.959 GB, free: 3.125 MB / 0.7169 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.0003377/0.8793, allocations: 0.6919 MB / 0.9597 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.8794, allocations: 30.7 kB / 0.9597 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8794, allocations: 0 / 0.9597 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.8795, allocations: 17.36 kB / 0.9597 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.8797, allocations: 4.984 kB / 0.9597 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.8804, allocations: 464.1 kB / 0.9602 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.8805, allocations: 0.689 MB / 0.9609 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.8805, allocations: 2.625 kB / 0.9609 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.8806, allocations: 12.97 kB / 0.9609 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8806, allocations: 0 / 0.9609 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.8917, allocations: 1.269 MB / 0.9621 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.8919, allocations: 172.2 kB / 0.9623 GB, free: 480 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.543, allocations: 0 / 0.9623 GB, free: 480 kB / 0.7169 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