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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001645/0.001645, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001254/0.001254, allocations: 193.9 kB / 16.25 MB, free: 6.625 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.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 390.3 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.491, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001962/0.493, allocations: 1.583 MB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.4934, allocations: 177.8 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.4934, allocations: 1.375 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.4934, allocations: 7.938 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.426e-05/0.4935, allocations: 3.938 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.4937, allocations: 43.67 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.4938, allocations: 35.02 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.4939, allocations: 14.73 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.4939, allocations: 16.73 kB / 0.9511 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.4939, allocations: 17.17 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4939, allocations: 6.969 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.494, allocations: 47.52 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.494, allocations: 9.578 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.4941, allocations: 16.2 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.4942, allocations: 68.41 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4942, allocations: 1.25 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4942, allocations: 0 / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4942, allocations: 0 / 0.9512 GB, free: 7.531 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.0003196/0.4945, allocations: 357.2 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.4946, allocations: 14 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.054e-05/0.4946, allocations: 32 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.4946, allocations: 10.33 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.822e-05/0.4947, allocations: 171 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4947, allocations: 1.656 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.4947, allocations: 3.125 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4949, allocations: 62.62 kB / 0.9518 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4949, allocations: 5.312 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.4949, allocations: 0 / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4949, allocations: 5.375 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.4951, allocations: 47.27 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.4953, allocations: 278.6 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.4956, allocations: 63.28 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.4957, allocations: 23.84 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.4958, allocations: 169 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.4958, allocations: 35.92 kB / 0.9524 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4958, allocations: 3.938 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003104/0.4962, allocations: 94.39 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.342e-05/0.4962, allocations: 52.69 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.4962, allocations: 108.1 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.4962, allocations: 29.7 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.4963, allocations: 89.62 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.4963, allocations: 5.375 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.4963, allocations: 16.66 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.858e-05/0.4963, allocations: 316 kB / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.4964, allocations: 27.41 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.4965, allocations: 22.83 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.4966, allocations: 50.42 kB / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4967, allocations: 5.531 kB / 0.9532 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001754/0.4968, allocations: 72.06 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.4969, allocations: 10.94 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4969, allocations: 1.562 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4969, allocations: 3.984 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.4969, allocations: 6.938 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.497, allocations: 1.344 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.497, allocations: 12.17 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.497, allocations: 0 / 0.9533 GB, free: 5.383 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.021e-05/0.4971, allocations: 120.5 kB / 0.9534 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4971, allocations: 10.62 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.4973, allocations: 87.09 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4973, allocations: 1.25 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4973, allocations: 0 / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.4973, allocations: 0 / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.4974, allocations: 169.7 kB / 0.9537 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4974, allocations: 0 / 0.9537 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.4975, allocations: 11.7 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4975, allocations: 4 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4975, allocations: 1.125 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4975, allocations: 1.438 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4975, allocations: 0 / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.4977, allocations: 179.4 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.4978, allocations: 82.48 kB / 0.954 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.4978, allocations: 4 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.4979, allocations: 8.109 kB / 0.954 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.4979, allocations: 6.719 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4979, allocations: 1.25 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.4979, allocations: 89.8 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4979, allocations: 0 / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002246/0.4982, allocations: 18.81 kB / 0.9541 GB, free: 4.605 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.0003671/0.4985, allocations: 0.7242 MB / 0.9548 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.4987, allocations: 46.98 kB / 0.9548 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4988, allocations: 0 / 0.9548 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.4988, allocations: 26.7 kB / 0.9549 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4991, allocations: 2.312 kB / 0.9549 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.5, allocations: 1.307 MB / 0.9562 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.199e-05/0.5001, allocations: 0.6827 MB / 0.9568 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.5001, allocations: 10.84 kB / 0.9568 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.5002, allocations: 14.72 kB / 0.9568 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5002, allocations: 0 / 0.9568 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.243/2.743, allocations: 1.746 MB / 0.9585 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/2.744, allocations: 199 kB / 0.9587 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/4.332, allocations: 0 / 0.9587 GB, free: 0.7266 MB / 0.7169 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