Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.000919/0.0009191, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.24/1.24, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008025/0.0008025, allocations: 95.95 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.72e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1915, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7188/0.9104, allocations: 149.8 MB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.9106, allocations: 70.08 kB / 1.359 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004412/0.915, allocations: 1.338 MB / 1.36 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9151, allocations: 7.812 kB / 1.36 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.902e-06/0.9151, allocations: 0 / 1.36 GB, free: 34.67 MB / 0.8386 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.0003984/0.9155, allocations: 351.9 kB / 1.361 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.9155, allocations: 7.688 kB / 1.361 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.9156, allocations: 35.5 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.9156, allocations: 11.69 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.016e-05/0.9157, allocations: 172.1 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.9157, allocations: 4 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.9157, allocations: 7.656 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.9159, allocations: 44.36 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.9159, allocations: 3.844 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.9159, allocations: 0 / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.9159, allocations: 0 / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.916, allocations: 26.95 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.9163, allocations: 287.7 kB / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.9165, allocations: 45.72 kB / 1.361 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.9166, allocations: 12.08 kB / 1.361 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.9169, allocations: 411.5 kB / 1.362 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.9169, allocations: 33.94 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.9169, allocations: 7.938 kB / 1.362 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001618/0.9171, allocations: 46.7 kB / 1.362 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.9171, allocations: 60.61 kB / 1.362 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.9172, allocations: 101.4 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.9172, allocations: 25.7 kB / 1.362 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.9172, allocations: 92.06 kB / 1.362 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.9172, allocations: 3.938 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.9173, allocations: 0 / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.9173, allocations: 317 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.9174, allocations: 7.844 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.9174, allocations: 11.41 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.9174, allocations: 8.906 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9174, allocations: 1.5 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.032e-05/0.9175, allocations: 54.91 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.9175, allocations: 3.875 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.9175, allocations: 3.719 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.9176, allocations: 0 / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.9177, allocations: 15.36 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9177, allocations: 4 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.9177, allocations: 12.89 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.9177, allocations: 1.219 kB / 1.362 GB, free: 32.53 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 5.494e-05/0.9178, allocations: 105.9 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.9178, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.918, allocations: 70.28 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.918, allocations: 1.266 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.918, allocations: 4 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.918, allocations: 0 / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.9181, allocations: 175.9 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9181, allocations: 0.9844 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.9182, allocations: 14.77 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9182, allocations: 0 / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.9182, allocations: 3.703 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9182, allocations: 320 / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9182, allocations: 7.781 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.9184, allocations: 150.9 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.9184, allocations: 78.52 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.9184, allocations: 0 / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.9185, allocations: 10.88 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.9186, allocations: 10.23 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.9186, allocations: 0 / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.9186, allocations: 99.31 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9186, allocations: 0 / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002417/0.9189, allocations: 31.28 kB / 1.363 GB, free: 31.85 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.0003726/0.9193, allocations: 0.7016 MB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.9193, allocations: 24.64 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9194, allocations: 4 kB / 1.364 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.9194, allocations: 20.73 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.9195, allocations: 3.156 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.9199, allocations: 107.5 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.9201, allocations: 0.6901 MB / 1.365 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.9201, allocations: 1.312 kB / 1.365 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.9202, allocations: 20.38 kB / 1.365 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.9202, allocations: 0 / 1.365 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.932, allocations: 1.57 MB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/0.9321, allocations: 143.8 kB / 1.366 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.396, allocations: 3.938 kB / 1.366 GB, free: 29.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat does not exist to compare? outputFormat=mat