Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001402, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001466/0.001466, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.62/1.62, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.609/2.609, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9792, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00193/0.9812, allocations: 0.5789 MB / 1.227 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.9816, allocations: 107.6 kB / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.9817, allocations: 0 / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.9817, allocations: 3.938 kB / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.9817, allocations: 0 / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.9821, allocations: 39.89 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.9823, allocations: 67.94 kB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.9823, allocations: 4 kB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.9824, allocations: 23.97 kB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.9824, allocations: 19.97 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.9825, allocations: 4 kB / 1.227 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.9826, allocations: 51.94 kB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.9827, allocations: 19.97 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.9827, allocations: 23.84 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.9829, allocations: 67.84 kB / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9829, allocations: 0 / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9829, allocations: 4 kB / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.9829, allocations: 0 / 1.227 GB, free: 12.49 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005263/0.9835, allocations: 375.9 kB / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9835, allocations: 12.03 kB / 1.228 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.9836, allocations: 8.938 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.9837, allocations: 160.4 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.984, allocations: 281.6 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.984, allocations: 8.312 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.9842, allocations: 82.14 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9843, allocations: 7.922 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.9843, allocations: 4 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9843, allocations: 4 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.9846, allocations: 131.8 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.9848, allocations: 181.5 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.9851, allocations: 98.41 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.9853, allocations: 44.83 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.9853, allocations: 7.984 kB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.9854, allocations: 42.56 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.9854, allocations: 0 / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0005425/0.9859, allocations: 149.8 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.986, allocations: 55.41 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.282e-05/0.986, allocations: 89.86 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.986, allocations: 25.7 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.9861, allocations: 84.14 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.9861, allocations: 35.69 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.9862, allocations: 29.7 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9863, allocations: 322.8 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.9864, allocations: 31.97 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.9866, allocations: 27.98 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.9869, allocations: 81.34 kB / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9869, allocations: 0 / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003202/0.9872, allocations: 117.6 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9872, allocations: 4 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9872, allocations: 7.922 kB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9873, allocations: 4 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.9874, allocations: 23.92 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.9874, allocations: 0 / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.9875, allocations: 4 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.9875, allocations: 11.98 kB / 1.23 GB, free: 9.703 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.449e-05/0.9876, allocations: 114.4 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.9876, allocations: 11.95 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.9877, allocations: 15.89 kB / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.9877, allocations: 0 / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9877, allocations: 0 / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.9877, allocations: 81.05 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.9878, allocations: 8 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.9878, allocations: 3.938 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.9879, allocations: 15.97 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004019/0.9883, allocations: 200.8 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003916/0.9887, allocations: 298.6 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001421/0.9888, allocations: 39.97 kB / 1.231 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.9889, allocations: 75.28 kB / 1.231 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of Backend: time 4.7e-07/0.9889, allocations: 0 / 1.231 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.9895, allocations: 154.2 kB / 1.231 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004304/0.9899, allocations: 0.576 MB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of Templates: time 0.004127/0.994, allocations: 1.375 MB / 1.233 GB, free: 6.648 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches