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.005542/0.005542, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001175/0.001175, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.673/2.673, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3367, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003059/0.3398, allocations: 1.534 MB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.3404, allocations: 180.3 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.3404, allocations: 0 / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.3405, allocations: 3.938 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.3406, allocations: 7.938 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.341, allocations: 43.89 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.431e-05/0.3411, allocations: 47.83 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.3412, allocations: 16 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.3412, allocations: 15.92 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.3413, allocations: 15.92 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3413, allocations: 4 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3414, allocations: 51.94 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.3415, allocations: 4 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.3415, allocations: 11.94 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.3417, allocations: 76 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3417, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.592e-06/0.3417, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3417, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 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.0005001/0.3422, allocations: 359.3 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3423, allocations: 11.97 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.3423, allocations: 38.75 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.3424, allocations: 0.9375 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3425, allocations: 176.4 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3425, allocations: 8.312 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3425, allocations: 4.375 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.3427, allocations: 58.23 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3428, allocations: 3.938 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3428, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3428, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.343, allocations: 47.89 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.3434, allocations: 288.7 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.3437, allocations: 58.53 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3438, allocations: 24.91 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.3441, allocations: 166.2 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3441, allocations: 46.44 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.846e-06/0.3441, allocations: 3.984 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003854/0.3445, allocations: 93.58 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3446, allocations: 51.41 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.3446, allocations: 113.8 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3447, allocations: 25.7 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.3447, allocations: 84.14 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.3447, allocations: 11.95 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.3448, allocations: 13.7 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3449, allocations: 322.8 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.345, allocations: 15.97 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.3451, allocations: 23.92 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3453, allocations: 52.81 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3453, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002247/0.3455, allocations: 77.61 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3455, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3455, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3456, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.3456, allocations: 11.98 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3457, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.3457, allocations: 11.98 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3457, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 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.98e-05/0.3458, allocations: 121.7 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3459, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3461, allocations: 77.55 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3461, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3462, allocations: 4 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3462, allocations: 4 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3463, allocations: 173.6 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3463, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.3464, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3464, allocations: 7.938 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3465, allocations: 7.984 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3465, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3465, allocations: 3.938 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3467, allocations: 179.3 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.3468, allocations: 77.11 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3468, allocations: 7.984 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.3469, allocations: 4.422 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.347, allocations: 7.984 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.347, allocations: 0 / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.347, allocations: 95.58 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.347, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002581/0.3473, allocations: 19.92 kB / 1.171 GB, free: 1.961 MB / 0.92 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.0005861/0.3479, allocations: 0.7279 MB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.3481, allocations: 47.95 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3481, allocations: 0 / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3483, allocations: 27.97 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3486, allocations: 6.344 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.35, allocations: 1.296 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3503, allocations: 0.6768 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.3503, allocations: 4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3504, allocations: 15.44 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3504, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.3693, allocations: 1.92 MB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.155, allocations: 17.28 kB / 1.176 GB, free: 13.17 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.csv","/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