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 1.974/1.974, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.0009629/0.0009629, allocations: 176.8 kB / 496.1 MB, free: 12.84 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.369/1.369, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0008049/0.0008048, allocations: 91.94 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.35e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2355, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7296/0.9652, allocations: 149.6 MB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.9654, allocations: 80.75 kB / 1.365 GB, free: 4.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003252/0.9687, allocations: 1.229 MB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9687, allocations: 0 / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9687, allocations: 0 / 1.366 GB, free: 3.25 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003544/0.9691, allocations: 356.1 kB / 1.367 GB, free: 2.863 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9691, allocations: 8.031 kB / 1.367 GB, free: 2.855 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.9692, allocations: 45.62 kB / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.9692, allocations: 8.688 kB / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.647e-05/0.9693, allocations: 167 kB / 1.367 GB, free: 2.598 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.9695, allocations: 280.3 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.9695, allocations: 7.812 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.9697, allocations: 72.09 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.9697, allocations: 0 / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.9697, allocations: 0 / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9697, allocations: 0 / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.9699, allocations: 126.2 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.97, allocations: 182.8 kB / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.9702, allocations: 82.8 kB / 1.368 GB, free: 1.793 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.9702, allocations: 37.36 kB / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.9703, allocations: 0 / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.9703, allocations: 38.38 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 8.12e-07/0.9703, allocations: 0 / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0002008/0.9705, allocations: 92.48 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.9705, allocations: 55.41 kB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.171e-05/0.9706, allocations: 92.34 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.9706, allocations: 29.7 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.9706, allocations: 80.33 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.9707, allocations: 35.09 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.9707, allocations: 3.375 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.9708, allocations: 314.8 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.9708, allocations: 26.86 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.9709, allocations: 38.73 kB / 1.368 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.9709, allocations: 24.78 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9709, allocations: 0 / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001373/0.9711, allocations: 103.1 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9711, allocations: 8 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.9711, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9711, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.9713, allocations: 19.98 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.9713, allocations: 4 kB / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.9714, allocations: 7.984 kB / 1.368 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.9714, allocations: 4 kB / 1.368 GB, free: 0.7969 MB / 0.823 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 () * 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 6.362e-05/0.9714, allocations: 116.5 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.9715, allocations: 0 / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.9715, allocations: 10.53 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9715, allocations: 4 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.9715, allocations: 0 / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9715, allocations: 7.969 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.9716, allocations: 179.8 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9717, allocations: 4 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.9718, allocations: 23.98 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.9718, allocations: 2.625 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9718, allocations: 7.984 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9718, allocations: 0 / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9718, allocations: 0 / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.972, allocations: 126 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.972, allocations: 96.02 kB / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.972, allocations: 4 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.9721, allocations: 4 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.9722, allocations: 19.22 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.9722, allocations: 0 / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of sorting global known variables: time 2.479e-05/0.9722, allocations: 79.28 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9722, allocations: 0 / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001967/0.9724, allocations: 26.31 kB / 1.369 GB, free: 52 kB / 0.823 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 () * 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.000476/0.9729, allocations: 0.6957 MB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.9731, allocations: 70.03 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9731, allocations: 0 / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.9731, allocations: 43.23 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.048e-05/0.9732, allocations: 0.6875 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.9736, allocations: 156.8 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.9738, allocations: 0.6964 MB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.9739, allocations: 44.56 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.9739, allocations: 22.36 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/0.9739, allocations: 0 / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.9847, allocations: 1.747 MB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.9849, allocations: 162.7 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.355/2.339, allocations: 0 / 1.373 GB, free: 12.46 MB / 0.8386 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