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.055/2.055, allocations: 390.5 MB / 398 MB, free: 10.99 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.001012/0.001012, allocations: 175.8 kB / 491.2 MB, free: 1.625 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.341/1.341, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008536/0.0008536, allocations: 98.23 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.662e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9033/1.143, allocations: 150 MB / 1.359 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.143, allocations: 70.47 kB / 1.359 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004811/1.148, allocations: 1.337 MB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.148, allocations: 0 / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.148, allocations: 4 kB / 1.36 GB, free: 32.84 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.0003941/1.148, allocations: 359.9 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/1.149, allocations: 11.56 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/1.149, allocations: 4.688 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.149, allocations: 168.6 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/1.149, allocations: 0 / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/1.149, allocations: 3.844 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.708e-05/1.149, allocations: 18.56 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/1.149, allocations: 46.31 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.149, allocations: 0 / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/1.149, allocations: 0 / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.149, allocations: 3.844 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/1.149, allocations: 259.3 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/1.15, allocations: 46.67 kB / 1.361 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/1.15, allocations: 12.45 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/1.15, allocations: 406 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/1.15, allocations: 35.56 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.15, allocations: 0 / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002999/1.15, allocations: 60.62 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/1.15, allocations: 58.16 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/1.15, allocations: 105.7 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.15, allocations: 25.7 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/1.15, allocations: 85.78 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/1.15, allocations: 3.875 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/1.15, allocations: 3.875 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.15, allocations: 312.3 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/1.151, allocations: 7.594 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/1.151, allocations: 9.281 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.151, allocations: 24.8 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.151, allocations: 0 / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001978/1.151, allocations: 67.22 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.151, allocations: 3.781 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.151, allocations: 2.438 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.151, allocations: 3.781 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.151, allocations: 10.95 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.151, allocations: 9.188 kB / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/1.151, allocations: 13.19 kB / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.151, allocations: 5.406 kB / 1.362 GB, free: 30.77 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 7.203e-05/1.151, allocations: 104.8 kB / 1.362 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002139/1.151, allocations: 60.08 kB / 1.362 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/1.151, allocations: 5.453 kB / 1.362 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/1.152, allocations: 74.5 kB / 1.363 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.152, allocations: 1.922 kB / 1.363 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.152, allocations: 3.953 kB / 1.363 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.152, allocations: 7.938 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/1.152, allocations: 143.6 kB / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/1.152, allocations: 0 / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/1.152, allocations: 14.66 kB / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.152, allocations: 0 / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/1.152, allocations: 2.656 kB / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.152, allocations: 0 / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.152, allocations: 0 / 1.363 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/1.152, allocations: 164.6 kB / 1.363 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/1.152, allocations: 81.05 kB / 1.363 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/1.152, allocations: 1.406 kB / 1.363 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/1.152, allocations: 13.08 kB / 1.363 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/1.152, allocations: 11.66 kB / 1.363 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/1.152, allocations: 1.406 kB / 1.363 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.667e-05/1.152, allocations: 79.16 kB / 1.363 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.153, allocations: 0 / 1.363 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002388/1.153, allocations: 28.92 kB / 1.363 GB, free: 30.09 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.0005879/1.153, allocations: 0.716 MB / 1.364 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.927e-05/1.153, allocations: 24.17 kB / 1.364 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.153, allocations: 0 / 1.364 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/1.153, allocations: 16.56 kB / 1.364 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/1.154, allocations: 5.312 kB / 1.364 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/1.154, allocations: 102.3 kB / 1.364 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.154, allocations: 0.6862 MB / 1.365 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.837e-05/1.154, allocations: 448 / 1.365 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/1.154, allocations: 18.78 kB / 1.365 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.154, allocations: 7.938 kB / 1.365 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/1.174, allocations: 1.226 MB / 1.366 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.174, allocations: 128.4 kB / 1.366 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.626, allocations: 7.938 kB / 1.366 GB, free: 28.33 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