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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001337, allocations: 99.86 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.001501/0.001501, 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.763/1.763, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.532/3.532, allocations: 409.2 MB / 0.6838 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005858/0.000586, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383/1.383, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001198/1.385, allocations: 321.6 kB / 0.9812 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005444/1.385, allocations: 95.72 kB / 0.9813 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/1.385, allocations: 0 / 0.9813 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/1.385, allocations: 0 / 0.9813 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.037e-05/1.385, allocations: 0 / 0.9813 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/1.386, allocations: 35.89 kB / 0.9813 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/1.386, allocations: 43.95 kB / 0.9813 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/1.386, allocations: 0 / 0.9813 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/1.386, allocations: 27.97 kB / 0.9814 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/1.386, allocations: 19.97 kB / 0.9814 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/1.386, allocations: 4 kB / 0.9814 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/1.386, allocations: 47.88 kB / 0.9814 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/1.386, allocations: 19.92 kB / 0.9815 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/1.386, allocations: 29.7 kB / 0.9815 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/1.387, allocations: 39.92 kB / 0.9815 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.387, allocations: 0 / 0.9815 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/1.387, allocations: 4 kB / 0.9815 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.46e-06/1.387, allocations: 4 kB / 0.9815 GB, free: 5.656 MB / 0.7325 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.0007096/1.387, allocations: 356.9 kB / 0.9819 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/1.387, allocations: 11.97 kB / 0.9819 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/1.388, allocations: 38.56 kB / 0.9819 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/1.388, allocations: 4 kB / 0.9819 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.388, allocations: 161.3 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/1.388, allocations: 288.9 kB / 0.9823 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/1.388, allocations: 4 kB / 0.9824 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/1.389, allocations: 93.45 kB / 0.9824 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.389, allocations: 0 / 0.9824 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/1.389, allocations: 4 kB / 0.9824 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.389, allocations: 0 / 0.9824 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/1.389, allocations: 135.8 kB / 0.9826 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/1.39, allocations: 181.5 kB / 0.9827 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/1.39, allocations: 94.45 kB / 0.9828 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/1.39, allocations: 12 kB / 0.9828 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.39, allocations: 34.56 kB / 0.9829 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/1.39, allocations: 0 / 0.9829 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0008656/1.391, allocations: 145.8 kB / 0.983 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/1.391, allocations: 55.41 kB / 0.9831 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/1.391, allocations: 89.86 kB / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/1.391, allocations: 29.7 kB / 0.9832 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/1.391, allocations: 84.31 kB / 0.9833 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/1.391, allocations: 39.45 kB / 0.9833 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.391, allocations: 3.938 kB / 0.9833 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.392, allocations: 318.8 kB / 0.9836 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/1.392, allocations: 27.97 kB / 0.9836 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/1.392, allocations: 35.97 kB / 0.9837 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/1.392, allocations: 27.98 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.392, allocations: 0 / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005704/1.393, allocations: 109.6 kB / 0.9838 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.393, allocations: 12 kB / 0.9838 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.393, allocations: 3.984 kB / 0.9838 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.393, allocations: 0 / 0.9838 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/1.393, allocations: 27.88 kB / 0.9838 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.393, allocations: 4 kB / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/1.393, allocations: 11.91 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/1.394, allocations: 3.984 kB / 0.9839 GB, free: 2.969 MB / 0.7325 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 0.0001429/1.394, allocations: 113.8 kB / 0.984 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.394, allocations: 4 kB / 0.984 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/1.394, allocations: 19.95 kB / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.394, allocations: 3.938 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.394, allocations: 7.953 kB / 0.984 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.394, allocations: 0 / 0.984 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/1.394, allocations: 177.5 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.394, allocations: 0 / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/1.394, allocations: 23.98 kB / 0.9842 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.394, allocations: 3.984 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.394, allocations: 0 / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/1.394, allocations: 7.922 kB / 0.9842 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.394, allocations: 11.94 kB / 0.9842 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/1.395, allocations: 141.8 kB / 0.9844 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/1.395, allocations: 77.11 kB / 0.9844 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/1.395, allocations: 0 / 0.9844 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/1.395, allocations: 8 kB / 0.9844 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/1.395, allocations: 11.97 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.395, allocations: 4 kB / 0.9845 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.254e-05/1.395, allocations: 79.28 kB / 0.9845 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.395, allocations: 0 / 0.9845 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004664/1.396, allocations: 27.95 kB / 0.9846 GB, free: 2.164 MB / 0.7325 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.001123/1.397, allocations: 0.7021 MB / 0.9852 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005495/1.398, allocations: 95.81 kB / 0.9853 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.398, allocations: 0 / 0.9853 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.398, allocations: 43.97 kB / 0.9854 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/1.398, allocations: 5.719 kB / 0.9854 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/1.399, allocations: 194.8 kB / 0.9856 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.399, allocations: 0.6887 MB / 0.9862 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002545/1.4, allocations: 35.97 kB / 0.9863 GB, free: 320 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/1.4, allocations: 35.36 kB / 0.9863 GB, free: 284 kB / 0.7325 GB Notification: Performance of SimCode: time 2.385e-06/1.4, allocations: 0 / 0.9863 GB, free: 284 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/1.419, allocations: 1.748 MB / 0.988 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/1.419, allocations: 185.9 kB / 0.9882 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/4.293, allocations: 0 / 0.9882 GB, free: 14.42 MB / 0.7481 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) Environment - environmentSimulation: 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