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.0009515/0.0009515, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009058/0.0009058, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9748/0.9748, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.991/1.991, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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 2.745e-06/2.745e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.087e-05/4.361e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003657/0.003701, allocations: 1.587 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000543/0.004244, allocations: 188.5 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.004289, allocations: 0 / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.004326, allocations: 7.875 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.004375, allocations: 0.5625 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.004778, allocations: 58.22 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.76e-05/0.004866, allocations: 39.91 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.004964, allocations: 11.98 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.005014, allocations: 19.92 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.005061, allocations: 15.97 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.00508, allocations: 4 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.00522, allocations: 49.31 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.005238, allocations: 11.92 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.005262, allocations: 11.94 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005453, allocations: 71.78 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.005457, allocations: 1.469 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005458, allocations: 0 / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.005464, allocations: 0 / 0.8136 GB, free: 15.64 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.0004593/0.005923, allocations: 377 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.005962, allocations: 12.03 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.006008, allocations: 6.062 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.006107, allocations: 112.6 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.00613, allocations: 4.375 kB / 0.814 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.006145, allocations: 4.875 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.006333, allocations: 67.47 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.006344, allocations: 1.562 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.006355, allocations: 384 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.006363, allocations: 384 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.00642, allocations: 19.92 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.006798, allocations: 268.9 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.007028, allocations: 43.05 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.007063, allocations: 16.69 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.007217, allocations: 12.89 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.007245, allocations: 37.33 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.007247, allocations: 3.938 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001999/0.007447, allocations: 58.61 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.007476, allocations: 51.41 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.007564, allocations: 166.9 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.007578, allocations: 25.7 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.007637, allocations: 138.8 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.007657, allocations: 13.38 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.007698, allocations: 23.38 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.007837, allocations: 492.1 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.007862, allocations: 8.234 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.007881, allocations: 5.312 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.007927, allocations: 19.69 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007929, allocations: 0 / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.728e-05/0.008027, allocations: 60.88 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.008042, allocations: 4 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008047, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.008063, allocations: 0 / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.008132, allocations: 12.03 kB / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.008137, allocations: 0 / 0.8155 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.00817, allocations: 3.984 kB / 0.8155 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.008178, allocations: 7.984 kB / 0.8155 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 8.153e-05/0.008259, allocations: 163 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.008291, allocations: 7.938 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.008418, allocations: 53.31 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00842, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.008423, allocations: 0 / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008426, allocations: 1.656 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.00857, allocations: 128.6 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008572, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.008621, allocations: 7.984 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008623, allocations: 4.875 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.008633, allocations: 7.938 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008635, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008636, allocations: 0.5312 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.008781, allocations: 188.8 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.008792, allocations: 11.98 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.008806, allocations: 4.781 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.008868, allocations: 7.938 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.008917, allocations: 5.266 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.008921, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.008969, allocations: 131.2 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008969, allocations: 0 / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003012/0.00927, allocations: 20.78 kB / 0.8163 GB, free: 12.62 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.0001758/0.009446, allocations: 117.8 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.009551, allocations: 19.67 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009553, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.009592, allocations: 23.61 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.009871, allocations: 14.47 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.01019, allocations: 129.1 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.01023, allocations: 63.2 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.01026, allocations: 4 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.01029, allocations: 8.5 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.01029, allocations: 0 / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of Templates: time 0.003818/0.01411, allocations: 1.019 MB / 0.8176 GB, free: 11.2 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.172706397715956]