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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9421/0.9421, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.064/2.064, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.676e-05, allocations: 5.75 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001901/0.001918, allocations: 1.6 MB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.002289, allocations: 188.1 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.002326, allocations: 0 / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.002358, allocations: 5.25 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.002403, allocations: 1.422 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.002731, allocations: 58.17 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.148e-05/0.002803, allocations: 41.98 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.002884, allocations: 7.984 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.002926, allocations: 23.92 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.002962, allocations: 17.94 kB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.002978, allocations: 7.938 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.003083, allocations: 47.94 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.003094, allocations: 7.984 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.003113, allocations: 11.94 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.003245, allocations: 70.41 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.003247, allocations: 0 / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003247, allocations: 3.938 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003251, allocations: 0 / 0.8802 GB, free: 4.246 MB / 0.8386 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.0003504/0.003602, allocations: 376.5 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.003635, allocations: 8.031 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.003678, allocations: 9.609 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.003765, allocations: 116.5 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.003786, allocations: 6.031 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.003794, allocations: 384 / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.003924, allocations: 66.94 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.00393, allocations: 192 / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003939, allocations: 1.719 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.003946, allocations: 384 / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.003984, allocations: 19.92 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.004266, allocations: 271.7 kB / 0.881 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.00443, allocations: 47.05 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.004453, allocations: 15.75 kB / 0.8811 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.004567, allocations: 11.98 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004589, allocations: 37.33 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00459, allocations: 0 / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.004743, allocations: 57.61 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.004768, allocations: 51.41 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.004838, allocations: 173.9 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.004847, allocations: 29.7 kB / 0.8815 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.004894, allocations: 142.7 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.004909, allocations: 7.953 kB / 0.8816 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.004937, allocations: 23.38 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.00504, allocations: 492.1 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.005057, allocations: 7.984 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.00507, allocations: 4 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.005102, allocations: 15.69 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.005105, allocations: 4 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.33e-05/0.005168, allocations: 53.56 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005179, allocations: 8 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005184, allocations: 0 / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005194, allocations: 0 / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/0.005236, allocations: 11.98 kB / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.00524, allocations: 0 / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.00526, allocations: 7.953 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.005265, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 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 6.057e-05/0.005325, allocations: 160.6 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.005341, allocations: 7.938 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.00543, allocations: 53.31 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005433, allocations: 4 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.005436, allocations: 0 / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.00544, allocations: 3.984 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/0.005531, allocations: 120.7 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005533, allocations: 3.984 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.005562, allocations: 4 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005563, allocations: 0 / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.005572, allocations: 7.938 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005573, allocations: 0 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.005574, allocations: 0 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.184e-05/0.005666, allocations: 199.9 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.005674, allocations: 11.95 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.005685, allocations: 3.938 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.005717, allocations: 4 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.005757, allocations: 4.406 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.005761, allocations: 8.188 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.005792, allocations: 127.2 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.005792, allocations: 4 kB / 0.8829 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001658/0.005958, allocations: 19.92 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001214/0.006079, allocations: 115.2 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.006159, allocations: 23.66 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.00616, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.006186, allocations: 23.61 kB / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.006348, allocations: 8 kB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.006583, allocations: 126.2 kB / 0.8832 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.006615, allocations: 59.34 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.006635, allocations: 4 kB / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.00666, allocations: 12.5 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.006661, allocations: 0 / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of Templates: time 0.002817/0.009478, allocations: 1.099 MB / 0.8843 GB, free: 15.68 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.240710102953017]