Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008942/0.0008942, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009518/0.0009518, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9925/0.9925, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.898/1.898, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.913e-05, allocations: 6.312 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002959/0.002988, allocations: 1.591 MB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000573/0.003561, allocations: 180 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.003621, allocations: 5.25 kB / 0.8137 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.003654, allocations: 0 / 0.8137 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.003722, allocations: 7.922 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.004127, allocations: 61.77 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.004206, allocations: 35.86 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.004299, allocations: 8 kB / 0.8138 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.00435, allocations: 19.98 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.004392, allocations: 11.97 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.004407, allocations: 4.625 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.004564, allocations: 55.92 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.00458, allocations: 12.72 kB / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.0046, allocations: 8 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004757, allocations: 72.92 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.004761, allocations: 4 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004762, allocations: 0 / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004767, allocations: 0.5 kB / 0.814 GB, free: 15.34 MB / 0.7761 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.0004013/0.005168, allocations: 373 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.005209, allocations: 8.031 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.005244, allocations: 5.438 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.005334, allocations: 117.8 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.005353, allocations: 4.375 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.005367, allocations: 4.375 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.005511, allocations: 65.28 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.005523, allocations: 8.109 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.00553, allocations: 4.312 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005537, allocations: 4.375 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.005572, allocations: 7.938 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.005865, allocations: 249 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.006037, allocations: 43.61 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.00606, allocations: 15.75 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.006185, allocations: 21.23 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.006211, allocations: 33.39 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.006213, allocations: 1.531 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.006379, allocations: 53.58 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006407, allocations: 55.39 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.006488, allocations: 162 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006501, allocations: 31.58 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.006552, allocations: 138.8 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.006571, allocations: 15.94 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.006609, allocations: 19.38 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.006741, allocations: 496.1 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.006757, allocations: 5.281 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.00677, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.006806, allocations: 19.69 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006808, allocations: 1.312 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.072e-05/0.006889, allocations: 41.69 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006903, allocations: 10.59 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006907, allocations: 4.25 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.006921, allocations: 8.781 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.006971, allocations: 8.531 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.006973, allocations: 0.875 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.007, allocations: 4 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.007004, allocations: 0.8125 kB / 0.816 GB, free: 13.16 MB / 0.7761 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 7.84e-05/0.007083, allocations: 168.5 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.007109, allocations: 8.453 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.007216, allocations: 54.69 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007218, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.00722, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.007225, allocations: 3.984 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.007359, allocations: 102.4 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.00736, allocations: 0 / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.007399, allocations: 11.92 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007401, allocations: 0.6875 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.007406, allocations: 4.688 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007407, allocations: 0 / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.00741, allocations: 4.844 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.007534, allocations: 187.9 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.007541, allocations: 4.844 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007552, allocations: 3.984 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.007606, allocations: 0 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.007646, allocations: 17.2 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.00765, allocations: 0 / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.007692, allocations: 127.2 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007692, allocations: 0.5938 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002647/0.007957, allocations: 23.94 kB / 0.8167 GB, free: 12.39 MB / 0.7761 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.0001629/0.00812, allocations: 117.6 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.008198, allocations: 19.67 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0082, allocations: 0 / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.008228, allocations: 19.67 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.008468, allocations: 8.906 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.008721, allocations: 125.7 kB / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.008761, allocations: 63.2 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.008791, allocations: 12.12 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.008847, allocations: 74.14 kB / 0.8171 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.008847, allocations: 0 / 0.8171 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of Templates: time 0.003356/0.0122, allocations: 1.113 MB / 0.8182 GB, free: 10.82 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.959394040051848]