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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001271/0.00127, allocations: 107.4 kB / 16.41 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.001352/0.001352, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9837/0.9851, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002917/0.9881, allocations: 1.528 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.9886, allocations: 191.3 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.9887, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.9887, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.9888, allocations: 7.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.9891, allocations: 47.89 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.9892, allocations: 35.91 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.9893, allocations: 11.98 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.9894, allocations: 15.94 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.9894, allocations: 23.91 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.9894, allocations: 4 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.9896, allocations: 47.95 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.9896, allocations: 11.98 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.9896, allocations: 15.88 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.9898, allocations: 63.78 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9898, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9898, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.9898, allocations: 3.938 kB / 1.21 GB, free: 11.6 MB / 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.0004887/0.9903, allocations: 359.2 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.9904, allocations: 8.031 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.9904, allocations: 0.9375 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.9905, allocations: 180.2 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.9906, allocations: 384 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.9906, allocations: 12.38 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.9908, allocations: 62.22 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.9908, allocations: 192 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.9908, allocations: 3.938 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9908, allocations: 7.938 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.991, allocations: 47.95 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.9914, allocations: 274.6 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.9918, allocations: 62.47 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.9919, allocations: 20.91 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.9921, allocations: 178.2 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.9921, allocations: 30.56 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.9922, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003766/0.9925, allocations: 89.64 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.9926, allocations: 55.39 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.9927, allocations: 105.9 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.9927, allocations: 33.69 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.9927, allocations: 84.14 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.9927, allocations: 7.906 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.9928, allocations: 21.66 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9929, allocations: 314.8 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.993, allocations: 19.98 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.9931, allocations: 19.97 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.9932, allocations: 48.77 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9933, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002154/0.9935, allocations: 81.55 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9935, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9935, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9935, allocations: 336 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.9936, allocations: 19.92 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.9936, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.9937, allocations: 7.938 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.9937, allocations: 4 kB / 1.212 GB, free: 9.223 MB / 0.9356 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.915e-05/0.9938, allocations: 125.7 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.9938, allocations: 4 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.9941, allocations: 81.55 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.9941, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9941, allocations: 3.938 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.9942, allocations: 89.02 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.9942, allocations: 0 / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.9943, allocations: 7.984 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.9943, allocations: 7.938 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002841/0.9946, allocations: 168.9 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003198/0.9949, allocations: 242.8 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.917e-05/0.995, allocations: 23.97 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.9951, allocations: 91.27 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of Backend: time 3.21e-07/0.9951, allocations: 0 / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.9956, allocations: 119.9 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005144/0.9962, allocations: 0.5648 MB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.003727/0.9999, allocations: 1.086 MB / 1.215 GB, free: 6.512 MB / 0.9356 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