Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.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.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",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.096/2.096, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.001007/0.001007, allocations: 173 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0008876/0.0008875, allocations: 91.94 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.865e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3035, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8959/1.199, allocations: 150.7 MB / 1.366 GB, free: 3.324 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/1.2, allocations: 74.77 kB / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00385/1.204, allocations: 1.342 MB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.203e-06/1.204, allocations: 0 / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.204, allocations: 0 / 1.367 GB, free: 2.09 MB / 0.823 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.0003584/1.204, allocations: 361.3 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.204, allocations: 8.031 kB / 1.368 GB, free: 1.691 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/1.204, allocations: 34.56 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/1.204, allocations: 8.688 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/1.204, allocations: 163 kB / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.204, allocations: 7.688 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.204, allocations: 3.984 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/1.204, allocations: 56.17 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/1.204, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/1.204, allocations: 0 / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.204, allocations: 4 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/1.204, allocations: 22.11 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/1.205, allocations: 283.4 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/1.205, allocations: 49.25 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/1.205, allocations: 12.05 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/1.205, allocations: 413 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/1.205, allocations: 30.56 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 2.895e-06/1.205, allocations: 0 / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001532/1.206, allocations: 55.89 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/1.206, allocations: 55.34 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/1.206, allocations: 104.2 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.206, allocations: 25.7 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/1.206, allocations: 84.45 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/1.206, allocations: 11.91 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.206, allocations: 0 / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.206, allocations: 318.2 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/1.206, allocations: 7.625 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/1.206, allocations: 7.438 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/1.206, allocations: 4 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.206, allocations: 4 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.967e-05/1.206, allocations: 52.22 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.206, allocations: 8 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.206, allocations: 8.125 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.206, allocations: 0 / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/1.206, allocations: 15.92 kB / 1.369 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.206, allocations: 3.953 kB / 1.369 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/1.206, allocations: 15.97 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/1.206, allocations: 0 / 1.369 GB, free: 15.67 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.011e-05/1.206, allocations: 108.4 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/1.206, allocations: 4 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/1.207, allocations: 61.77 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.207, allocations: 0 / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.207, allocations: 0 / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.207, allocations: 3.953 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/1.207, allocations: 176.5 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.207, allocations: 0 / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/1.207, allocations: 19.98 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.207, allocations: 7.938 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/1.207, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.207, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.207, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/1.207, allocations: 147.1 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/1.207, allocations: 84.66 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.207, allocations: 4 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/1.207, allocations: 8 kB / 1.37 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/1.207, allocations: 7.984 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/1.207, allocations: 0 / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.822e-05/1.207, allocations: 95.06 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.207, allocations: 0 / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002035/1.208, allocations: 23.44 kB / 1.37 GB, free: 14.88 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004308/1.208, allocations: 0.7079 MB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/1.208, allocations: 27.3 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.208, allocations: 0 / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/1.208, allocations: 15.31 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/1.208, allocations: 4 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/1.209, allocations: 110.2 kB / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/1.209, allocations: 0.6887 MB / 1.372 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.971e-05/1.209, allocations: 0 / 1.372 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/1.209, allocations: 19.17 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.209, allocations: 0 / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/1.22, allocations: 1.58 MB / 1.373 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.22, allocations: 166.2 kB / 1.373 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.763, allocations: 0 / 1.373 GB, free: 11.55 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat does not exist to compare? outputFormat=mat