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 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.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.001007/0.001007, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009619/0.0009619, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006828/0.0006829, allocations: 12 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7539, allocations: 153.7 MB / 1.021 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007436/0.7547, allocations: 325.4 kB / 1.021 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.755, allocations: 91.73 kB / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.755, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.7551, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.7551, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.7554, allocations: 31.89 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.7555, allocations: 43.95 kB / 1.021 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.7556, allocations: 4 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.7556, allocations: 27.97 kB / 1.021 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.7557, allocations: 19.97 kB / 1.021 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.7557, allocations: 4 kB / 1.021 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.7558, allocations: 47.88 kB / 1.021 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.7558, allocations: 19.92 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.7559, allocations: 29.7 kB / 1.021 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.388e-05/0.756, allocations: 39.92 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.756, allocations: 0 / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.763e-06/0.756, allocations: 0 / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.756, allocations: 0 / 1.021 GB, free: 500 kB / 0.7637 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.0004707/0.7565, allocations: 359.3 kB / 1.022 GB, free: 92 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7565, allocations: 12.03 kB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.7566, allocations: 4 kB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7567, allocations: 161 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.757, allocations: 285 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.757, allocations: 7.953 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.7572, allocations: 73.58 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7572, allocations: 3.938 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.7573, allocations: 12 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7573, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.7576, allocations: 139.8 kB / 1.022 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.7578, allocations: 181.4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.7581, allocations: 94.47 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.7582, allocations: 11.97 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.7582, allocations: 34.52 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.7582, allocations: 4 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005639/0.7588, allocations: 149.8 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.7589, allocations: 55.41 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.7589, allocations: 89.86 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.759, allocations: 25.7 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.759, allocations: 80.33 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.7591, allocations: 31.47 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.7591, allocations: 4 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7593, allocations: 322.8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.7594, allocations: 31.97 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.7595, allocations: 31.92 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.7597, allocations: 35.97 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7597, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000319/0.76, allocations: 113.6 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.76, allocations: 4 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.76, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7601, allocations: 3.953 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.7602, allocations: 27.97 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7602, allocations: 4 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.7603, allocations: 7.906 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.7603, allocations: 7.922 kB / 1.024 GB, free: 13.85 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.7605, allocations: 113.8 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.7605, allocations: 4 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.7605, allocations: 11.97 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7605, allocations: 3.953 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7605, allocations: 8 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7605, allocations: 3.984 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.7607, allocations: 177.6 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7607, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.7608, allocations: 27.98 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7608, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.7609, allocations: 7.984 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7609, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7609, allocations: 7.953 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.7612, allocations: 144.9 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.7613, allocations: 85.03 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.7613, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.7614, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.7614, allocations: 11.97 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.7615, allocations: 11.95 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.7615, allocations: 75.28 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7615, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000251/0.7618, allocations: 24 kB / 1.024 GB, free: 13.04 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.762, allocations: 123.2 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.7623, allocations: 84.75 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7623, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.7625, allocations: 47.91 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.381e-05/0.7626, allocations: 5.969 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.763, allocations: 166.6 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.7633, allocations: 0.6887 MB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.7635, allocations: 39.95 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.7635, allocations: 23.42 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7635, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.003272/0.7668, allocations: 0.9309 MB / 1.027 GB, free: 10.88 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches