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.302/2.302, allocations: 393.5 MB / 408.4 MB, free: 11 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.001225/0.001225, allocations: 176 kB / 0.4901 GB, free: 2.207 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.554/1.554, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009834/0.0009834, allocations: 96.7 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 11.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.5437, allocations: 150.7 MB / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.544, allocations: 71.97 kB / 1.377 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004259/0.5483, allocations: 1.34 MB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.557e-06/0.5483, allocations: 0 / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5483, allocations: 3.938 kB / 1.378 GB, free: 1.227 MB / 0.8698 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.0004995/0.5488, allocations: 367.2 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.5489, allocations: 8.562 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.5489, allocations: 34.56 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.549, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.5491, allocations: 171 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.5491, allocations: 4 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.5492, allocations: 7.938 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.5494, allocations: 69.66 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5494, allocations: 0 / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5494, allocations: 0 / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5494, allocations: 7.984 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.5496, allocations: 55.95 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.5501, allocations: 292.7 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.5504, allocations: 60.36 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/0.5508, allocations: 409.7 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5509, allocations: 34.56 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5509, allocations: 4 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004127/0.5513, allocations: 109.5 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.5513, allocations: 55.41 kB / 1.379 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.5514, allocations: 104.9 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5515, allocations: 33.64 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.5515, allocations: 84.08 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.5515, allocations: 15.83 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5515, allocations: 4 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5517, allocations: 314.8 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.5518, allocations: 23.98 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.5519, allocations: 27.97 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.552, allocations: 23.98 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.552, allocations: 0 / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002318/0.5522, allocations: 85.59 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5523, allocations: 7.984 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5523, allocations: 0 / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5523, allocations: 4 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.5524, allocations: 15.98 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5524, allocations: 3.953 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.5525, allocations: 8 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5525, allocations: 0 / 1.38 GB, free: 14.52 MB / 0.8855 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 () * Number of clocked 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 8.726e-05/0.5526, allocations: 117.8 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.5526, allocations: 7.906 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.5529, allocations: 93.55 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5529, allocations: 0 / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5529, allocations: 0 / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5529, allocations: 3.953 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.5531, allocations: 169.6 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5531, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.5532, allocations: 15.98 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5532, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.5532, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5532, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5532, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.5535, allocations: 191.8 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.5536, allocations: 85 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.5536, allocations: 3.984 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.5537, allocations: 11.98 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.5538, allocations: 8 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5538, allocations: 7.984 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.5539, allocations: 79.59 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5539, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002484/0.5541, allocations: 20 kB / 1.381 GB, free: 13.62 MB / 0.8855 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 () * Number of clocked 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.000647/0.5548, allocations: 0.7482 MB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.555, allocations: 55.89 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.555, allocations: 0 / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.5551, allocations: 35.91 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.5554, allocations: 9.25 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.5563, allocations: 472.6 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.5566, allocations: 0.6809 MB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.5566, allocations: 16.11 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.5567, allocations: 15.44 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/0.5567, allocations: 3.938 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.57, allocations: 1.576 MB / 1.384 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.5702, allocations: 166.8 kB / 1.385 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.123, allocations: 0 / 1.385 GB, free: 9.801 MB / 0.8855 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