Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.Binomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_9_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.005053/0.005053, allocations: 101 kB / 15.73 MB, free: 6.043 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.001227/0.001227, allocations: 186.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.19 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2457, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002495/0.2483, allocations: 1.532 MB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.2488, allocations: 180.2 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.2488, allocations: 0 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.2489, allocations: 3.938 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.2489, allocations: 7.938 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.2493, allocations: 51.88 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.2494, allocations: 39.91 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.2495, allocations: 11.98 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.2495, allocations: 19.92 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.2496, allocations: 15.92 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2496, allocations: 4 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2497, allocations: 51.94 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.2497, allocations: 11.94 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.2498, allocations: 11.94 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.25, allocations: 63.84 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.25, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.25, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.25, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 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.0004777/0.2505, allocations: 358.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2505, allocations: 8.031 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.2506, allocations: 34.75 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2506, allocations: 8.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2507, allocations: 177.1 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2508, allocations: 4.375 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2508, allocations: 384 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.251, allocations: 66.22 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.251, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.251, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.251, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.2512, allocations: 43.95 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.2516, allocations: 284.7 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.2519, allocations: 58.59 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.2521, allocations: 22.27 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.2523, allocations: 174.2 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.2523, allocations: 30.56 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2523, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003769/0.2527, allocations: 101.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.2527, allocations: 55.34 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.2528, allocations: 117.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2528, allocations: 25.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2529, allocations: 88.14 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.2529, allocations: 3.906 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.2529, allocations: 17.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.253, allocations: 318.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.2531, allocations: 23.97 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.2532, allocations: 23.97 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2534, allocations: 48.75 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2534, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002089/0.2536, allocations: 77.59 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2536, allocations: 8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2536, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2537, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.2537, allocations: 15.98 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2537, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.2538, allocations: 11.89 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2538, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 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,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.2539, allocations: 117.8 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.2539, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.2542, allocations: 89.48 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2542, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2542, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2542, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.2544, allocations: 173.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2544, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.2545, allocations: 11.98 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2545, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2545, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2545, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2545, allocations: 8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.2547, allocations: 175.3 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.2548, allocations: 89.03 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2548, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.2549, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2549, allocations: 7.984 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2549, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.255, allocations: 91.34 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.255, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002463/0.2552, allocations: 16 kB / 1.092 GB, free: 12.63 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005421/0.2558, allocations: 0.7319 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.256, allocations: 55.92 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.256, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.772e-05/0.2561, allocations: 27.97 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2564, allocations: 1.562 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2577, allocations: 1.292 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.258, allocations: 0.6807 MB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.258, allocations: 3.938 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.258, allocations: 15.44 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.258, allocations: 0 / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/1.568, allocations: 1.928 MB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/9.061, allocations: 7.609 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches