Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5757, allocations: 142.3 MB / 0.9536 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0005585/0.5762, allocations: 319.2 kB / 0.9539 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.5765, allocations: 91.22 kB / 0.954 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.5766, allocations: 5.219 kB / 0.954 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.5766, allocations: 0 / 0.954 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-06/0.5766, allocations: 0 / 0.954 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.5769, allocations: 28.27 kB / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.577, allocations: 51.55 kB / 0.9541 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.577, allocations: 5.469 kB / 0.9541 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.577, allocations: 21.42 kB / 0.9541 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.5771, allocations: 24.58 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.5771, allocations: 2.75 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.5772, allocations: 36.44 kB / 0.9542 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.5773, allocations: 19.5 kB / 0.9542 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.5773, allocations: 38.64 kB / 0.9542 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.315e-05/0.5774, allocations: 46.17 kB / 0.9543 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.5774, allocations: 0 / 0.9543 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5774, allocations: 0 / 0.9543 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5774, allocations: 0 / 0.9543 GB, free: 7.672 MB / 0.7169 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.0003515/0.5778, allocations: 355.8 kB / 0.9546 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5778, allocations: 10.25 kB / 0.9546 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.5779, allocations: 37.66 kB / 0.9546 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.5779, allocations: 8.516 kB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.604e-05/0.5779, allocations: 162.6 kB / 0.9548 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.5781, allocations: 287 kB / 0.9551 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.5782, allocations: 10.44 kB / 0.9551 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.5785, allocations: 73.14 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5785, allocations: 0 / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5785, allocations: 1.031 kB / 0.9552 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5786, allocations: 5.203 kB / 0.9552 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.5789, allocations: 135.5 kB / 0.9553 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.579, allocations: 186.9 kB / 0.9555 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.5793, allocations: 99.2 kB / 0.9556 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.5793, allocations: 5.562 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.5794, allocations: 36.22 kB / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.5794, allocations: 0 / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004856/0.5799, allocations: 142.2 kB / 0.9557 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.5799, allocations: 52.47 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.649e-05/0.5799, allocations: 98.8 kB / 0.9559 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.5799, allocations: 29.7 kB / 0.9559 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.024e-05/0.5799, allocations: 81.55 kB / 0.956 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.58, allocations: 36.3 kB / 0.956 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.58, allocations: 0 / 0.956 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.58, allocations: 320 kB / 0.9563 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.5802, allocations: 34.03 kB / 0.9564 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.5803, allocations: 35.28 kB / 0.9564 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.5804, allocations: 28.52 kB / 0.9564 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5805, allocations: 7.938 kB / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003078/0.5808, allocations: 116.5 kB / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5808, allocations: 4.562 kB / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5808, allocations: 0 / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.5808, allocations: 1.438 kB / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.581, allocations: 25.41 kB / 0.9566 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.581, allocations: 1.094 kB / 0.9566 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.581, allocations: 11.59 kB / 0.9566 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.5811, allocations: 6.203 kB / 0.9566 GB, free: 5.418 MB / 0.7169 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 7.166e-05/0.5811, allocations: 122.7 kB / 0.9567 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.5812, allocations: 9.953 kB / 0.9567 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.5812, allocations: 11.97 kB / 0.9567 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5812, allocations: 2.094 kB / 0.9567 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5812, allocations: 3.984 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5812, allocations: 1.312 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.041e-05/0.5813, allocations: 183 kB / 0.9569 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5813, allocations: 0 / 0.9569 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.5814, allocations: 21.48 kB / 0.9569 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5815, allocations: 5.25 kB / 0.9569 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5815, allocations: 5.422 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5815, allocations: 1.375 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5815, allocations: 0 / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.5818, allocations: 148.4 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.5818, allocations: 83.66 kB / 0.9572 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.5818, allocations: 1.219 kB / 0.9572 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.5819, allocations: 7.562 kB / 0.9572 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.582, allocations: 15.97 kB / 0.9572 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.582, allocations: 3.531 kB / 0.9572 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.04e-05/0.582, allocations: 75.28 kB / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.582, allocations: 0 / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002321/0.5822, allocations: 21.31 kB / 0.9573 GB, free: 4.734 MB / 0.7169 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.0005401/0.5828, allocations: 0.7051 MB / 0.958 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.5831, allocations: 83 kB / 0.9581 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5831, allocations: 0 / 0.9581 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.5833, allocations: 49.31 kB / 0.9581 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.871e-05/0.5834, allocations: 1.531 kB / 0.9581 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.5838, allocations: 204.3 kB / 0.9583 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.882e-05/0.5839, allocations: 0.6881 MB / 0.959 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.584, allocations: 42.72 kB / 0.959 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.5841, allocations: 25.36 kB / 0.959 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5841, allocations: 0 / 0.959 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.5944, allocations: 1.746 MB / 0.9607 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001136/0.5945, allocations: 178.2 kB / 0.9609 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.222, allocations: 0 / 0.9609 GB, free: 2.035 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat does not exist to compare? outputFormat=mat