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: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_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.001776/0.001776, allocations: 107.2 kB / 16.41 MB, free: 6.438 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.001908/0.001908, 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.527/2.527, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.84 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.058, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00299/1.061, allocations: 1.527 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004789/1.062, allocations: 188.2 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/1.062, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/1.062, allocations: 3.938 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/1.062, allocations: 7.938 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/1.062, allocations: 51.88 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/1.062, allocations: 35.91 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/1.063, allocations: 16 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/1.063, allocations: 19.91 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/1.063, allocations: 15.92 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/1.063, allocations: 4 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/1.063, allocations: 43.97 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/1.063, allocations: 11.97 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/1.063, allocations: 15.88 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/1.063, allocations: 67.84 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/1.063, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.62e-07/1.063, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.063, allocations: 4 kB / 1.169 GB, free: 1.836 MB / 0.8887 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.0005116/1.064, allocations: 355.2 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.064, allocations: 8.922 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/1.064, allocations: 8.938 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.064, allocations: 172.2 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/1.064, allocations: 8.375 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/1.064, allocations: 384 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/1.064, allocations: 66.22 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.064, allocations: 4.188 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.064, allocations: 7.875 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.064, allocations: 3.938 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/1.064, allocations: 43.95 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/1.065, allocations: 286.5 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/1.065, allocations: 58.61 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/1.065, allocations: 28.83 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/1.066, allocations: 166.2 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.066, allocations: 30.56 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/1.066, allocations: 0 / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003888/1.066, allocations: 105.6 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/1.066, allocations: 51.41 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/1.066, allocations: 105.8 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.066, allocations: 25.7 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/1.066, allocations: 88.14 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/1.066, allocations: 3.906 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/1.066, allocations: 21.7 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.066, allocations: 314.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/1.066, allocations: 19.98 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/1.067, allocations: 23.97 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/1.067, allocations: 40.77 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.067, allocations: 3.984 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/1.067, allocations: 85.5 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.067, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.067, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/1.067, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/1.067, allocations: 11.98 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.067, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/1.067, allocations: 11.92 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/1.067, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 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 0.0001029/1.067, allocations: 117.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/1.067, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/1.068, allocations: 89.81 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.068, allocations: 4.031 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.068, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/1.068, allocations: 84.95 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/1.068, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/1.068, allocations: 11.98 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/1.068, allocations: 11.92 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002795/1.068, allocations: 160.9 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003382/1.069, allocations: 250.7 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.84e-05/1.069, allocations: 23.98 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001947/1.069, allocations: 87.58 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/1.069, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005581/1.07, allocations: 120.8 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000511/1.07, allocations: 0.5649 MB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of Templates: time 0.003575/1.074, allocations: 1.088 MB / 1.174 GB, free: 12.75 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat","/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