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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009134/0.0009133, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001119/0.001119, allocations: 172.7 kB / 15.95 MB, free: 208 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.473/1.473, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.529/2.529, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.000406, allocations: 16 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7787, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002027/0.7808, allocations: 1.198 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.7819, allocations: 0.5974 MB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.782, allocations: 4 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.782, allocations: 3.984 kB / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.7821, allocations: 3.938 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.7825, allocations: 59.83 kB / 0.983 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.201e-05/0.7825, allocations: 27.92 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.7826, allocations: 11.98 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.7827, allocations: 19.91 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.7828, allocations: 15.88 kB / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.7828, allocations: 0 / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.783, allocations: 99.83 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.783, allocations: 7.984 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.7831, allocations: 29.7 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.7832, allocations: 58.16 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.7832, allocations: 0 / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7832, allocations: 3.938 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.7832, allocations: 0 / 0.9832 GB, free: 4.117 MB / 0.7325 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.000448/0.7837, allocations: 359.2 kB / 0.9836 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.7838, allocations: 12.03 kB / 0.9836 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.7838, allocations: 42.48 kB / 0.9836 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.7838, allocations: 4 kB / 0.9836 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.784, allocations: 166.9 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.784, allocations: 4 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.784, allocations: 0 / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.7842, allocations: 61.62 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7842, allocations: 4 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.7842, allocations: 0 / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.7843, allocations: 4 kB / 0.9838 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.7844, allocations: 31.98 kB / 0.9839 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.7848, allocations: 284.7 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.532e-05/0.7849, allocations: 38.56 kB / 0.9842 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.785, allocations: 12.92 kB / 0.9842 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/0.7855, allocations: 0.5622 MB / 0.9847 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.7855, allocations: 38.5 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7855, allocations: 0 / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002626/0.7858, allocations: 69.67 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.7858, allocations: 51.41 kB / 0.9849 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.7859, allocations: 117.8 kB / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.7859, allocations: 25.7 kB / 0.985 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.786, allocations: 96.25 kB / 0.9851 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.786, allocations: 3.906 kB / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.786, allocations: 0 / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7862, allocations: 318.8 kB / 0.9854 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.7862, allocations: 7.984 kB / 0.9854 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-05/0.7862, allocations: 12 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.7863, allocations: 23.94 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7863, allocations: 3.938 kB / 0.9855 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/0.7865, allocations: 65.59 kB / 0.9855 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7865, allocations: 4 kB / 0.9855 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7865, allocations: 0 / 0.9855 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7865, allocations: 3.938 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.7866, allocations: 11.98 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.7866, allocations: 4.031 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.7866, allocations: 4 kB / 0.9856 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.7867, allocations: 3.984 kB / 0.9856 GB, free: 1.348 MB / 0.7325 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 7.765e-05/0.7867, allocations: 113.7 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.7868, allocations: 7.906 kB / 0.9857 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.787, allocations: 73.14 kB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.787, allocations: 0 / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.787, allocations: 0 / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.787, allocations: 0 / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.7872, allocations: 165.7 kB / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7872, allocations: 7.938 kB / 0.9859 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.7872, allocations: 8 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7872, allocations: 0 / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7873, allocations: 0 / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7873, allocations: 0 / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7873, allocations: 0 / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.7875, allocations: 163.5 kB / 0.9861 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.7875, allocations: 84.97 kB / 0.9862 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.7875, allocations: 3.984 kB / 0.9862 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.7876, allocations: 4 kB / 0.9862 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.7876, allocations: 3.984 kB / 0.9862 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.7877, allocations: 8.031 kB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.7877, allocations: 91.27 kB / 0.9863 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7877, allocations: 0 / 0.9863 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000235/0.788, allocations: 12 kB / 0.9863 GB, free: 0.5156 MB / 0.7325 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.0005291/0.7885, allocations: 0.6968 MB / 0.987 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.7886, allocations: 35.86 kB / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7887, allocations: 0 / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.7887, allocations: 11.98 kB / 0.987 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.7889, allocations: 4.156 kB / 0.987 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.7897, allocations: 466.1 kB / 0.9875 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.79, allocations: 0.6849 MB / 0.9881 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.7901, allocations: 0 / 0.9881 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.7901, allocations: 15.44 kB / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.7901, allocations: 0 / 0.9881 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.8028, allocations: 1.264 MB / 0.9894 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.8032, allocations: 185.9 kB / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.567, allocations: 0 / 0.9896 GB, free: 13.12 MB / 0.7481 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) Environment - environmentSimulation: 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