Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_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.004925/0.004925, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.00129/0.00129, allocations: 192 kB / 16.67 MB, free: 5.93 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6528, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002481/0.6553, allocations: 1.529 MB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.6558, allocations: 183.4 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.6558, allocations: 0 / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.6558, allocations: 3.938 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.6559, allocations: 0 / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.6562, allocations: 55.81 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.6562, allocations: 27.98 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.6563, allocations: 19.98 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.018e-05/0.6564, allocations: 23.86 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.6564, allocations: 19.91 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.6564, allocations: 4 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.6565, allocations: 43.97 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.6566, allocations: 11.97 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.6566, allocations: 15.88 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.6567, allocations: 71.44 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6567, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6568, allocations: 4 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6568, allocations: 4 kB / 1.222 GB, free: 0 / 0.9356 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.0004698/0.6572, allocations: 363.2 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.6573, allocations: 8.031 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.6573, allocations: 34.75 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.6573, allocations: 4.938 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6575, allocations: 164.3 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6575, allocations: 4.375 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.6575, allocations: 384 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.6577, allocations: 74.16 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6577, allocations: 3.938 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.6577, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.6577, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.6579, allocations: 43.95 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.6583, allocations: 276.8 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.6586, allocations: 62.55 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.6587, allocations: 28.83 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.6589, allocations: 166.2 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.659, allocations: 38.56 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.659, allocations: 4 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003662/0.6593, allocations: 101.5 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.6594, allocations: 51.41 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.6595, allocations: 109.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.6595, allocations: 25.7 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.6595, allocations: 88.08 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.6596, allocations: 7.953 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.6596, allocations: 17.72 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6597, allocations: 322.8 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.6598, allocations: 15.98 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.502e-05/0.6599, allocations: 23.97 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.6601, allocations: 40.83 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6601, allocations: 4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002247/0.6603, allocations: 89.84 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6604, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.6604, allocations: 7.938 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6604, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.6605, allocations: 11.98 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.6605, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.6605, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6605, allocations: 7.984 kB / 1.224 GB, free: 13.56 MB / 0.9512 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 7.76e-05/0.6606, allocations: 121.7 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.6607, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.6609, allocations: 85.48 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6609, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6609, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6609, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.6611, allocations: 177.5 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6611, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.6612, allocations: 11.98 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.6612, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.6612, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6612, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6612, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.6615, allocations: 179.4 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.6616, allocations: 77.11 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.6616, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.6617, allocations: 11.98 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.6617, allocations: 7.984 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.6617, allocations: 4 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.6618, allocations: 91.22 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6618, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002276/0.662, allocations: 15.94 kB / 1.225 GB, free: 12.68 MB / 0.9512 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.0006133/0.6626, allocations: 0.7246 MB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.6629, allocations: 51.89 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6629, allocations: 7.938 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.663, allocations: 27.97 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.6632, allocations: 0 / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.6646, allocations: 1.288 MB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.6649, allocations: 0.6885 MB / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.85e-05/0.6649, allocations: 7.984 kB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.665, allocations: 15.44 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.665, allocations: 0 / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5136/1.179, allocations: 1.925 MB / 1.23 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.27, allocations: 12.33 kB / 1.23 GB, free: 7.879 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches