Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_10_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.008204/0.008204, allocations: 99.77 kB / 15.73 MB, free: 5.98 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.002161/0.002161, allocations: 194.6 kB / 16.68 MB, free: 5.91 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437.1 MB / 0.7106 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7138, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002487/0.7163, allocations: 1.531 MB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.7167, allocations: 188.2 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.7168, allocations: 0 / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.7168, allocations: 7.922 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.7169, allocations: 7.938 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.7172, allocations: 47.89 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.7173, allocations: 39.91 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.415e-05/0.7173, allocations: 12 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.7174, allocations: 15.92 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.7174, allocations: 15.92 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.7174, allocations: 4 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.7176, allocations: 51.94 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.7176, allocations: 4 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.7176, allocations: 19.86 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.7178, allocations: 70.52 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7178, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7178, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7178, allocations: 0 / 1.168 GB, free: 1.73 MB / 0.8887 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.0004747/0.7183, allocations: 360.2 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.7183, allocations: 8.625 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.7184, allocations: 42.73 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.7184, allocations: 0.9375 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.7185, allocations: 176.3 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7186, allocations: 384 / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.7186, allocations: 4.375 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.7188, allocations: 66.2 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.7188, allocations: 3.938 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.7188, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.7188, allocations: 0 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.719, allocations: 43.95 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.7194, allocations: 284.7 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.7197, allocations: 58.53 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.7198, allocations: 24.91 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.7201, allocations: 170.2 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.7201, allocations: 38.56 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7201, allocations: 0 / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.7205, allocations: 93.53 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.7205, allocations: 51.41 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.7206, allocations: 114.1 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.7206, allocations: 29.64 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.7207, allocations: 92.06 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.7207, allocations: 11.95 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.7208, allocations: 9.719 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7209, allocations: 326.8 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.721, allocations: 15.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.7211, allocations: 15.98 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.7213, allocations: 56.81 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7213, allocations: 3.938 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002201/0.7215, allocations: 77.61 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7215, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7215, allocations: 7.922 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.7216, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.7216, allocations: 8 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.7216, allocations: 12.05 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.7217, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.7217, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 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 8.055e-05/0.7218, allocations: 120 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.7218, allocations: 7.984 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.7221, allocations: 81.48 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7221, allocations: 4.375 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7221, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7221, allocations: 4 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.7223, allocations: 169.7 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7223, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.7224, allocations: 11.97 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.7224, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.7224, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7224, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7224, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.7227, allocations: 183.3 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.7228, allocations: 77.11 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.7228, allocations: 8 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.7229, allocations: 3.984 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.7229, allocations: 4 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.7229, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.723, allocations: 95.27 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.723, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002444/0.7232, allocations: 15.94 kB / 1.171 GB, free: 14.41 MB / 0.9044 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.0006327/0.7239, allocations: 0.728 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.7241, allocations: 55.77 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7241, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.7242, allocations: 23.98 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.7245, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.7259, allocations: 1.29 MB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.7262, allocations: 0.6806 MB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.7263, allocations: 8.125 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.7263, allocations: 19.42 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.7263, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.606/2.333, allocations: 1.912 MB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.51, allocations: 16.06 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches