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.0009426/0.0009426, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0008895/0.0008895, allocations: 165 kB / 23.82 MB, free: 0.75 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.9615/0.9615, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.965/1.965, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.864e-06/1.864e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.93e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002976/0.003005, allocations: 1.597 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.003457, allocations: 183.4 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.003492, allocations: 1.094 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.003524, allocations: 0 / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.003573, allocations: 7.875 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.003901, allocations: 60.42 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.003974, allocations: 37.33 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.004054, allocations: 8 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.004093, allocations: 27.95 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.004128, allocations: 11.92 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004144, allocations: 5.062 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.004251, allocations: 51.94 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.004262, allocations: 4 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.004285, allocations: 20.59 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004415, allocations: 63.8 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004417, allocations: 0.9062 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004418, allocations: 0 / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.004422, allocations: 0.6562 kB / 0.8136 GB, free: 15.65 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.0003589/0.004781, allocations: 376.5 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.004816, allocations: 12.91 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.004855, allocations: 8.938 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.004938, allocations: 109.8 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.004958, allocations: 4.375 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.004967, allocations: 384 / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.005107, allocations: 76.73 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.005114, allocations: 192 / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.005125, allocations: 4.375 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.005132, allocations: 384 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.005169, allocations: 11.94 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.005459, allocations: 268.9 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.005623, allocations: 50.98 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.005647, allocations: 12.72 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.005761, allocations: 16.72 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.005782, allocations: 41.33 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005783, allocations: 0.6875 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001497/0.005933, allocations: 53.64 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.00596, allocations: 51.94 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.006033, allocations: 171 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.006042, allocations: 25.7 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.006089, allocations: 134.8 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.006104, allocations: 12.48 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.006133, allocations: 23.36 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.006244, allocations: 0.4896 MB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.006261, allocations: 4 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.006272, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.006305, allocations: 24.77 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006307, allocations: 256 / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.106e-05/0.006368, allocations: 50.56 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.006379, allocations: 7.938 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006385, allocations: 4 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006395, allocations: 1.781 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.006437, allocations: 8 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.006441, allocations: 0 / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.00646, allocations: 7.984 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.006468, allocations: 9.516 kB / 0.8156 GB, free: 13.41 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 5.674e-05/0.006525, allocations: 152.6 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.00654, allocations: 8.266 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.006627, allocations: 58.06 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006629, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.006631, allocations: 3.438 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.006634, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.006727, allocations: 128.6 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-07/0.006728, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.006753, allocations: 7.938 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.006756, allocations: 3.984 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006765, allocations: 7.938 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006765, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006766, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.006854, allocations: 188.5 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.006859, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.00687, allocations: 4.469 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.006905, allocations: 5.5 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.006947, allocations: 7.984 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.00695, allocations: 0 / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.006983, allocations: 127.2 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006983, allocations: 0.5312 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001601/0.007143, allocations: 23.88 kB / 0.8163 GB, free: 12.63 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.0001282/0.007271, allocations: 124.4 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.863e-05/0.00735, allocations: 19.67 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007351, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.007374, allocations: 19.69 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.007535, allocations: 8.797 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.007776, allocations: 127.1 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.007813, allocations: 63.16 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.007833, allocations: 14.27 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.007863, allocations: 12.5 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.007864, allocations: 0 / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.002654/0.01052, allocations: 1.092 MB / 0.8177 GB, free: 11.14 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: 5.104188099037856]