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.0009766/0.0009763, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 204 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005526/0.0005527, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6249, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0005982/0.6255, allocations: 321.6 kB / 0.9815 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000298/0.6258, allocations: 87.73 kB / 0.9815 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.6258, allocations: 4 kB / 0.9815 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.6258, allocations: 0 / 0.9815 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.6259, allocations: 0 / 0.9815 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.6261, allocations: 35.95 kB / 0.9816 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.6262, allocations: 51.94 kB / 0.9816 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.6263, allocations: 4 kB / 0.9816 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.6263, allocations: 27.91 kB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.6264, allocations: 19.97 kB / 0.9817 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.6264, allocations: 4 kB / 0.9817 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.6265, allocations: 47.94 kB / 0.9817 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.6265, allocations: 11.98 kB / 0.9817 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.6266, allocations: 33.7 kB / 0.9818 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.164e-05/0.6267, allocations: 43.92 kB / 0.9818 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6267, allocations: 7.938 kB / 0.9818 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6267, allocations: 4 kB / 0.9818 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.6267, allocations: 0 / 0.9818 GB, free: 5.512 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.0004233/0.6271, allocations: 359.2 kB / 0.9822 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6272, allocations: 12.03 kB / 0.9822 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.6272, allocations: 42.56 kB / 0.9822 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.6273, allocations: 4 kB / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.747e-05/0.6274, allocations: 165.3 kB / 0.9824 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.6276, allocations: 281 kB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6277, allocations: 4 kB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.6279, allocations: 81.58 kB / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.6279, allocations: 0 / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.6279, allocations: 4 kB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6279, allocations: 4 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.6283, allocations: 135.8 kB / 0.9829 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.6285, allocations: 177.5 kB / 0.983 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.6287, allocations: 102.5 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.6289, allocations: 48.83 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.6289, allocations: 7.969 kB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.6289, allocations: 30.56 kB / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.6289, allocations: 0 / 0.9832 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0004828/0.6294, allocations: 153.5 kB / 0.9834 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.6295, allocations: 51.41 kB / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.107e-05/0.6295, allocations: 90.08 kB / 0.9835 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.6295, allocations: 29.7 kB / 0.9835 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.6296, allocations: 84.27 kB / 0.9836 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.6296, allocations: 39.45 kB / 0.9836 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.6296, allocations: 4 kB / 0.9836 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.6297, allocations: 310.8 kB / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.6299, allocations: 35.97 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.63, allocations: 23.98 kB / 0.984 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.6301, allocations: 35.97 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6301, allocations: 0 / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003113/0.6304, allocations: 121.5 kB / 0.9842 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6305, allocations: 4 kB / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6305, allocations: 0 / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.6305, allocations: 3.953 kB / 0.9842 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.6306, allocations: 27.97 kB / 0.9842 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.6307, allocations: 0 / 0.9842 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.6307, allocations: 11.84 kB / 0.9842 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.6307, allocations: 11.98 kB / 0.9842 GB, free: 2.773 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 7.79e-05/0.6308, allocations: 117.8 kB / 0.9843 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.6308, allocations: 4 kB / 0.9843 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.6309, allocations: 7.969 kB / 0.9843 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6309, allocations: 4 kB / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6309, allocations: 3.953 kB / 0.9843 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6309, allocations: 3.984 kB / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.631, allocations: 185.5 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6311, allocations: 4 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.6312, allocations: 19.98 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.6312, allocations: 0 / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.6312, allocations: 15.98 kB / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6312, allocations: 0 / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6312, allocations: 0 / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.6316, allocations: 141.7 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.6316, allocations: 81.09 kB / 0.9848 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.6316, allocations: 8 kB / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.469e-05/0.6317, allocations: 4 kB / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.6317, allocations: 15.97 kB / 0.9848 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-06/0.6318, allocations: 8 kB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.6318, allocations: 79.23 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6318, allocations: 0 / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002207/0.632, allocations: 20 kB / 0.9849 GB, free: 1.969 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.0006227/0.6326, allocations: 0.7021 MB / 0.9856 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.633, allocations: 79.94 kB / 0.9857 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.633, allocations: 0 / 0.9857 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6331, allocations: 51.91 kB / 0.9857 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.6333, allocations: 4 kB / 0.9857 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.6337, allocations: 205.1 kB / 0.9859 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.634, allocations: 0.6848 MB / 0.9866 GB, free: 156 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.6341, allocations: 35.95 kB / 0.9866 GB, free: 120 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.6342, allocations: 23.42 kB / 0.9866 GB, free: 96 kB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6342, allocations: 0 / 0.9866 GB, free: 96 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.6444, allocations: 1.769 MB / 0.9884 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.6447, allocations: 194.9 kB / 0.9885 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.27, allocations: 0 / 0.9885 GB, free: 14.22 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