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.001523/0.001523, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.001558/0.001558, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.51/1.51, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.75 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8329, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001736/0.8347, allocations: 0.5788 MB / 1.083 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.835, allocations: 109.8 kB / 1.084 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.835, allocations: 0 / 1.084 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.8351, allocations: 0 / 1.084 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-06/0.8351, allocations: 1.469 kB / 1.084 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.8354, allocations: 34.17 kB / 1.084 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.8355, allocations: 68.16 kB / 1.084 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.8356, allocations: 5.688 kB / 1.084 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.8356, allocations: 22.14 kB / 1.084 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.8357, allocations: 24.61 kB / 1.084 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.8357, allocations: 3.594 kB / 1.084 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.8358, allocations: 46.91 kB / 1.084 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.8359, allocations: 23.69 kB / 1.084 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.8359, allocations: 21.17 kB / 1.084 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.836, allocations: 68.64 kB / 1.084 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.836, allocations: 4.656 kB / 1.084 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8361, allocations: 3.938 kB / 1.084 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.8361, allocations: 4.594 kB / 1.084 GB, free: 1.105 MB / 0.8262 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.0004018/0.8365, allocations: 362.2 kB / 1.084 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.8365, allocations: 12.88 kB / 1.084 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.8366, allocations: 14.83 kB / 1.084 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.334e-05/0.8366, allocations: 167.8 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.8368, allocations: 276.8 kB / 1.085 GB, free: 224 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.8368, allocations: 7.938 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.8371, allocations: 80.98 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8371, allocations: 3.938 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8371, allocations: 9.219 kB / 1.085 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.8371, allocations: 1.734 kB / 1.085 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.8375, allocations: 132.5 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.8377, allocations: 179.3 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.838, allocations: 94.56 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.8382, allocations: 41.36 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.8382, allocations: 5.938 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.8382, allocations: 36.41 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.8382, allocations: 0 / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0005494/0.8388, allocations: 163.3 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.8388, allocations: 52.5 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.8389, allocations: 91.94 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.8389, allocations: 25.7 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.839, allocations: 81.23 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.839, allocations: 35.23 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.8391, allocations: 30.34 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8393, allocations: 313.8 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.8394, allocations: 33.89 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.8395, allocations: 29.98 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.8398, allocations: 77.62 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8399, allocations: 1.188 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003368/0.8402, allocations: 117 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8402, allocations: 13 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8402, allocations: 0.7031 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8402, allocations: 1.125 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.8404, allocations: 23.7 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8404, allocations: 0 / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.8405, allocations: 6.172 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.8405, allocations: 7.219 kB / 1.086 GB, free: 15.02 MB / 0.8419 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 9.446e-05/0.8406, allocations: 120.5 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.8406, allocations: 13.94 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.8407, allocations: 13.38 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8407, allocations: 1.5 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.8407, allocations: 0.8438 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8407, allocations: 4.5 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.8409, allocations: 184.8 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8409, allocations: 1.125 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.841, allocations: 23.48 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.841, allocations: 5.438 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.8411, allocations: 6.703 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8411, allocations: 0 / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8411, allocations: 4.656 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.8415, allocations: 144.5 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.8415, allocations: 83.61 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.8416, allocations: 9.984 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.8416, allocations: 3.406 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.8417, allocations: 15.53 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.8417, allocations: 7.359 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.8418, allocations: 80.44 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8418, allocations: 0 / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002537/0.8421, allocations: 25.17 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002384/0.8423, allocations: 112.9 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.8427, allocations: 101.4 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8427, allocations: 0.9688 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.8429, allocations: 50.47 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.843, allocations: 8.969 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.8434, allocations: 191.4 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8438, allocations: 0.6846 MB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.8438, allocations: 22.12 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.8439, allocations: 0 / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.003389/0.8472, allocations: 1.325 MB / 1.089 GB, free: 13.26 MB / 0.8419 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=400 -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