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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008633/0.0008633, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0051/0.0051, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 16 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5276, allocations: 142.4 MB / 0.9552 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001349/0.529, allocations: 1.251 MB / 0.9564 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.5294, allocations: 180.2 kB / 0.9566 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.5295, allocations: 1.125 kB / 0.9566 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.5295, allocations: 0 / 0.9566 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.5295, allocations: 12.86 kB / 0.9566 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.5298, allocations: 33.81 kB / 0.9566 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.5298, allocations: 34.23 kB / 0.9566 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.892e-05/0.5299, allocations: 21.75 kB / 0.9567 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.53, allocations: 12.41 kB / 0.9567 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.53, allocations: 17.61 kB / 0.9567 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.53, allocations: 1.125 kB / 0.9567 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.5301, allocations: 49.02 kB / 0.9567 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.5301, allocations: 9.078 kB / 0.9567 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.5302, allocations: 33.23 kB / 0.9568 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.5303, allocations: 60.72 kB / 0.9568 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5303, allocations: 1.406 kB / 0.9568 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5303, allocations: 0 / 0.9568 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.5303, allocations: 0 / 0.9568 GB, free: 6.59 MB / 0.7169 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.0003295/0.5306, allocations: 359.1 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5307, allocations: 9.281 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.5307, allocations: 31.75 kB / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.5307, allocations: 7.906 kB / 0.9572 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.065e-05/0.5308, allocations: 169.4 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5308, allocations: 6.875 kB / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.5309, allocations: 5.703 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.531, allocations: 64.98 kB / 0.9575 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.531, allocations: 7.938 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.5311, allocations: 0 / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5311, allocations: 1.094 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.5313, allocations: 58.5 kB / 0.9575 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.5315, allocations: 286.9 kB / 0.9578 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.5318, allocations: 59.36 kB / 0.9578 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.5319, allocations: 40.91 kB / 0.9579 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5321, allocations: 167.1 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.5321, allocations: 30.56 kB / 0.9581 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5321, allocations: 0 / 0.9581 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.5325, allocations: 118.4 kB / 0.9582 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.5325, allocations: 51.41 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.5326, allocations: 111.9 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.5326, allocations: 25.7 kB / 0.9584 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.5326, allocations: 90.48 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.5326, allocations: 1.844 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.5326, allocations: 17.72 kB / 0.9585 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.323e-05/0.5327, allocations: 319.9 kB / 0.9588 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.5328, allocations: 24.14 kB / 0.9588 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.5329, allocations: 27.16 kB / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.533, allocations: 57.61 kB / 0.9589 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.533, allocations: 0 / 0.9589 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.5333, allocations: 94.27 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5333, allocations: 11.22 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5333, allocations: 0 / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.5333, allocations: 0 / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.5334, allocations: 13.95 kB / 0.959 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5334, allocations: 1.938 kB / 0.959 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.5334, allocations: 13.34 kB / 0.959 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.5335, allocations: 9.891 kB / 0.959 GB, free: 4.43 MB / 0.7169 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 4.897e-05/0.5335, allocations: 115.6 kB / 0.9591 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.5335, allocations: 1.781 kB / 0.9591 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.5338, allocations: 97.39 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5338, allocations: 1.812 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5338, allocations: 0 / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5338, allocations: 0 / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.5339, allocations: 173.6 kB / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5339, allocations: 0 / 0.9594 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.534, allocations: 13.42 kB / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.534, allocations: 1.219 kB / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.534, allocations: 0 / 0.9594 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.534, allocations: 5.312 kB / 0.9594 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.534, allocations: 0 / 0.9594 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.5343, allocations: 190.2 kB / 0.9596 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.5343, allocations: 78.48 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5343, allocations: 4 kB / 0.9597 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.5344, allocations: 14.8 kB / 0.9597 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.5344, allocations: 10.77 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.5345, allocations: 1.375 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.5345, allocations: 84.78 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5345, allocations: 0 / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002365/0.5347, allocations: 21.75 kB / 0.9598 GB, free: 3.656 MB / 0.7169 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.0004254/0.5352, allocations: 0.7352 MB / 0.9605 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.5354, allocations: 62.27 kB / 0.9606 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5354, allocations: 1.375 kB / 0.9606 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.5355, allocations: 31.22 kB / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.5357, allocations: 6.75 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.5368, allocations: 1.321 MB / 0.9619 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.82e-05/0.5369, allocations: 0.6797 MB / 0.9626 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.5369, allocations: 14.53 kB / 0.9626 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.537, allocations: 18.14 kB / 0.9626 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.537, allocations: 0 / 0.9626 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.547, allocations: 1.628 MB / 0.9642 GB, free: 144 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.5473, allocations: 201.1 kB / 0.9644 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.117, allocations: 7.938 kB / 0.9644 GB, free: 15.87 MB / 0.7325 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