Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 110.5 kB / 16.42 MB, free: 6.453 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.001714/0.001715, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.7 MB / 0.746 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 67.89 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.004511/1.139, allocations: 1.537 MB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006128/1.14, allocations: 179.4 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/1.14, allocations: 0 / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/1.14, allocations: 11.92 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/1.14, allocations: 3.938 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/1.14, allocations: 55.88 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/1.141, allocations: 27.92 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/1.141, allocations: 16 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/1.141, allocations: 15.92 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/1.141, allocations: 23.91 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/1.141, allocations: 4 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/1.141, allocations: 47.95 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/1.141, allocations: 4 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/1.141, allocations: 19.86 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/1.141, allocations: 72.33 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.141, allocations: 4 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/1.141, allocations: 0 / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.141, allocations: 0 / 1.228 GB, free: 11.51 MB / 0.9512 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.0005448/1.142, allocations: 359.3 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.142, allocations: 8.031 kB / 1.229 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/1.142, allocations: 4.938 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.142, allocations: 180.2 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/1.142, allocations: 4.375 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/1.142, allocations: 4.375 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/1.142, allocations: 62.23 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.142, allocations: 192 / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/1.142, allocations: 7.938 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.142, allocations: 3.984 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/1.143, allocations: 39.95 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/1.143, allocations: 288.7 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/1.144, allocations: 54.59 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.144, allocations: 20.84 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/1.144, allocations: 170.2 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.144, allocations: 34.56 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.144, allocations: 0 / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004183/1.144, allocations: 101.5 kB / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.145, allocations: 51.41 kB / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/1.145, allocations: 109.8 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.145, allocations: 25.7 kB / 1.23 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/1.145, allocations: 88.14 kB / 1.23 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/1.145, allocations: 19.94 kB / 1.23 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/1.145, allocations: 13.72 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.145, allocations: 314.8 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/1.145, allocations: 23.97 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/1.145, allocations: 19.98 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/1.145, allocations: 56.69 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.145, allocations: 0 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/1.146, allocations: 77.61 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.146, allocations: 4 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.146, allocations: 4 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.146, allocations: 3.938 kB / 1.23 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/1.146, allocations: 11.98 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.146, allocations: 0 / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/1.146, allocations: 11.98 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/1.146, allocations: 0 / 1.23 GB, free: 9.109 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 9.846e-05/1.146, allocations: 119.6 kB / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/1.146, allocations: 0 / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/1.146, allocations: 85.81 kB / 1.231 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.146, allocations: 4.031 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.146, allocations: 0 / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/1.146, allocations: 89.05 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/1.146, allocations: 0 / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/1.147, allocations: 8 kB / 1.231 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/1.147, allocations: 11.92 kB / 1.231 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002899/1.147, allocations: 152.9 kB / 1.231 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003043/1.147, allocations: 258.7 kB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001108/1.147, allocations: 23.97 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.308e-05/1.147, allocations: 79.59 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of Backend: time 4.3e-07/1.147, allocations: 0 / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005164/1.148, allocations: 119.9 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005258/1.148, allocations: 0.5724 MB / 1.232 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of Templates: time 0.003823/1.152, allocations: 1.082 MB / 1.233 GB, free: 6.41 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches