Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.305/2.305, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001072/0.001072, allocations: 180 kB / 0.4901 GB, free: 2.238 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.649/1.649, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0008849/0.0008848, allocations: 88.28 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 13.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.531, allocations: 149.7 MB / 1.375 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5313, allocations: 75.95 kB / 1.376 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003727/0.535, allocations: 1.227 MB / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.535, allocations: 0 / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5351, allocations: 4 kB / 1.377 GB, free: 2.547 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004371/0.5355, allocations: 355.3 kB / 1.377 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.5356, allocations: 8.562 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.5356, allocations: 50.48 kB / 1.377 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.5357, allocations: 11.91 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5358, allocations: 163 kB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.5361, allocations: 285 kB / 1.378 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.5361, allocations: 4 kB / 1.378 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.5363, allocations: 81.62 kB / 1.378 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.5364, allocations: 0 / 1.378 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5364, allocations: 0 / 1.378 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5364, allocations: 0 / 1.378 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.5367, allocations: 131.8 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.5369, allocations: 181.5 kB / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.5372, allocations: 102.5 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5372, allocations: 336 / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5373, allocations: 34.56 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.5373, allocations: 7.938 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0005353/0.5378, allocations: 141.6 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5379, allocations: 55.34 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.675e-05/0.5379, allocations: 88.91 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.5379, allocations: 25.7 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.538, allocations: 92.33 kB / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.538, allocations: 35.53 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.538, allocations: 0 / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5381, allocations: 322.7 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.5383, allocations: 35.91 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.5384, allocations: 28.41 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5385, allocations: 40.12 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5385, allocations: 4 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003148/0.5389, allocations: 113.5 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5389, allocations: 5.875 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.5389, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5389, allocations: 4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.5391, allocations: 23.92 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5391, allocations: 3.938 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.5392, allocations: 7.984 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5392, allocations: 8 kB / 1.379 GB, free: 15.86 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.11e-05/0.5393, allocations: 125.8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.5393, allocations: 4 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.5393, allocations: 7.969 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5393, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5394, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5394, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.5395, allocations: 185.5 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5395, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5396, allocations: 23.97 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5397, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5397, allocations: 8 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5397, allocations: 8 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5397, allocations: 3.938 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.54, allocations: 141 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.5401, allocations: 88.97 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.5401, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.5402, allocations: 7.984 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.5402, allocations: 11.98 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.5403, allocations: 11.98 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.5403, allocations: 75.28 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5403, allocations: 0 / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002216/0.5405, allocations: 24 kB / 1.38 GB, free: 15.05 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007105/0.5412, allocations: 0.7082 MB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.5416, allocations: 83.88 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5416, allocations: 3.938 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.5417, allocations: 47.97 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.563e-05/0.5418, allocations: 4.766 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.5424, allocations: 212.2 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.5426, allocations: 0.6888 MB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.5427, allocations: 43.73 kB / 1.381 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.5428, allocations: 19.42 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5428, allocations: 3.938 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.5551, allocations: 1.716 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.5553, allocations: 183.9 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.324, allocations: 0 / 1.383 GB, free: 11.32 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat does not exist to compare? outputFormat=mat