Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_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.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 192.2 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 67.23 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2505, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001736/0.2523, allocations: 0.5837 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003503/0.2527, allocations: 107.5 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.2527, allocations: 4 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.2527, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-06/0.2527, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2531, allocations: 47.88 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2532, allocations: 67.92 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2532, allocations: 0 / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.2533, allocations: 19.98 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.2533, allocations: 27.95 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2534, allocations: 3.938 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2535, allocations: 43.97 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.2535, allocations: 19.97 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.2536, allocations: 31.84 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2537, allocations: 63.84 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2537, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2537, allocations: 3.984 kB / 1.065 GB, free: 13.21 MB / 0.8262 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.000479/0.2542, allocations: 367.6 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2542, allocations: 12.03 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.2543, allocations: 46.73 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2543, allocations: 8.844 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2545, allocations: 172.5 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.2547, allocations: 281.6 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2548, allocations: 384 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.255, allocations: 89.88 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.255, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.255, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.255, allocations: 0 / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2554, allocations: 131.8 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.2555, allocations: 169.7 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2558, allocations: 102.5 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.256, allocations: 44.83 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.256, allocations: 3.984 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.256, allocations: 42.5 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.256, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004938/0.2565, allocations: 150.1 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2566, allocations: 59.41 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.734e-05/0.2567, allocations: 93.77 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2567, allocations: 29.7 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.2567, allocations: 80.14 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.2568, allocations: 31.55 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.2568, allocations: 25.7 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2569, allocations: 318.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2571, allocations: 27.97 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2572, allocations: 39.97 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.2575, allocations: 72.75 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2575, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000311/0.2578, allocations: 117.5 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2578, allocations: 11.88 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2579, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2579, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.258, allocations: 23.97 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.258, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.2581, allocations: 15.94 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2581, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.2582, allocations: 117.8 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.2582, allocations: 11.94 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.2583, allocations: 7.969 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2583, allocations: 3.938 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2583, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2583, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2584, allocations: 193.5 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2584, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.2586, allocations: 19.98 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2586, allocations: 7.938 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2586, allocations: 3.984 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2586, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2586, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.2589, allocations: 133.1 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.259, allocations: 96.83 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.259, allocations: 7.984 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.2591, allocations: 8 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.2591, allocations: 11.97 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.2591, allocations: 7.984 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.2592, allocations: 79.22 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2592, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002054/0.2594, allocations: 20 kB / 1.068 GB, free: 9.566 MB / 0.8262 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 (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.0006869/0.2601, allocations: 0.691 MB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.2604, allocations: 107.8 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2604, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.2606, allocations: 51.91 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.2607, allocations: 4 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.2612, allocations: 204.3 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2615, allocations: 0.6885 MB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.2617, allocations: 39.95 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.2617, allocations: 19.42 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.2617, allocations: 3.938 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7253/0.987, allocations: 1.999 MB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.68, allocations: 5.891 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches