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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009997, allocations: 84.38 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.001232/0.001232, 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.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.614/2.614, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7021/0.7026, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001791/0.7044, allocations: 1.235 MB / 0.9823 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.7048, allocations: 176.4 kB / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.7049, allocations: 3.938 kB / 0.9825 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.7049, allocations: 3.938 kB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.7049, allocations: 4 kB / 0.9825 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.7052, allocations: 43.89 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.7053, allocations: 27.92 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.7054, allocations: 11.98 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.7054, allocations: 7.938 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.7055, allocations: 19.97 kB / 0.9826 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.7055, allocations: 0 / 0.9826 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.7056, allocations: 47.89 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.7056, allocations: 7.938 kB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.7056, allocations: 33.7 kB / 0.9827 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.315e-05/0.7057, allocations: 35.92 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7057, allocations: 0 / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.91e-07/0.7058, allocations: 0 / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.7058, allocations: 0 / 0.9827 GB, free: 4.574 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004299/0.7062, allocations: 357.5 kB / 0.9831 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.7062, allocations: 8.031 kB / 0.9831 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.7063, allocations: 34.56 kB / 0.9831 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.7063, allocations: 7.906 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.7065, allocations: 171 kB / 0.9833 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.7065, allocations: 4 kB / 0.9833 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.7065, allocations: 0 / 0.9833 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.7067, allocations: 77.59 kB / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7067, allocations: 0 / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.7067, allocations: 0 / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.7067, allocations: 4 kB / 0.9834 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.7069, allocations: 55.95 kB / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.7073, allocations: 288.7 kB / 0.9837 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.7076, allocations: 58.55 kB / 0.9838 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.7077, allocations: 36.83 kB / 0.9838 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.7079, allocations: 170.2 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.708, allocations: 34.56 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.708, allocations: 0 / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.7083, allocations: 117.6 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.7084, allocations: 51.41 kB / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.7085, allocations: 109.8 kB / 0.9843 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.7085, allocations: 25.7 kB / 0.9843 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.7086, allocations: 88.14 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.7086, allocations: 3.906 kB / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.7086, allocations: 0 / 0.9844 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7088, allocations: 322.8 kB / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.7089, allocations: 27.92 kB / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.709, allocations: 19.98 kB / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.709, allocations: 31.97 kB / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7091, allocations: 3.953 kB / 0.9848 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002087/0.7093, allocations: 89.5 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7093, allocations: 9.406 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7093, allocations: 0 / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7093, allocations: 4 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.7094, allocations: 11.98 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7094, allocations: 4 kB / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.7095, allocations: 11.92 kB / 0.9849 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7095, allocations: 0 / 0.9849 GB, free: 2.121 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked 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 8.639e-05/0.7096, allocations: 113.8 kB / 0.985 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.7096, allocations: 7.953 kB / 0.985 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.7099, allocations: 93.48 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7099, allocations: 4 kB / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7099, allocations: 0 / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7099, allocations: 384 / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.7101, allocations: 177.5 kB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7101, allocations: 0 / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.7101, allocations: 15.95 kB / 0.9853 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7102, allocations: 3.984 kB / 0.9853 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.7102, allocations: 7.938 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7102, allocations: 0 / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7102, allocations: 0 / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.7104, allocations: 183.5 kB / 0.9855 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.7105, allocations: 81.11 kB / 0.9855 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7105, allocations: 7.938 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.7106, allocations: 4 kB / 0.9856 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.7107, allocations: 15.92 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.7107, allocations: 0 / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.7107, allocations: 91.27 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7107, allocations: 0 / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002336/0.711, allocations: 20 kB / 0.9857 GB, free: 1.207 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked 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.0006103/0.7116, allocations: 0.7308 MB / 0.9864 GB, free: 460 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.7118, allocations: 63.89 kB / 0.9864 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7118, allocations: 0 / 0.9864 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.7119, allocations: 31.97 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.7122, allocations: 9.016 kB / 0.9865 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/0.713, allocations: 462.3 kB / 0.9869 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.7135, allocations: 0.677 MB / 0.9876 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.7135, allocations: 4 kB / 0.9876 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.7135, allocations: 19.42 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7135, allocations: 0 / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.7249, allocations: 1.621 MB / 0.9892 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.7251, allocations: 177.2 kB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.592, allocations: 0 / 0.9894 GB, free: 13.38 MB / 0.7481 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) Environment - environmentSimulation: 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