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.00144/0.00144, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001574/0.001574, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.459/1.459, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.922/2.922, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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.974e-06/1.974e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.74e-05, allocations: 6.938 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003604/0.003641, allocations: 1.564 MB / 0.8123 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.004214, allocations: 171.5 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.004274, allocations: 4.781 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.004314, allocations: 3.938 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.004371, allocations: 9.562 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.004783, allocations: 55.8 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.004872, allocations: 31.92 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.004966, allocations: 7.984 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.265e-05/0.005019, allocations: 25.5 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.005075, allocations: 19.92 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.005091, allocations: 0 / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.005242, allocations: 51.88 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.005262, allocations: 9.188 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005297, allocations: 19.91 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.005499, allocations: 71.78 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005502, allocations: 1.594 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005503, allocations: 0 / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.005507, allocations: 0 / 0.8128 GB, free: 80 kB / 0.7605 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.0005744/0.006082, allocations: 286.1 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.006122, allocations: 10.62 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.006172, allocations: 4.938 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.006303, allocations: 109.8 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.006328, allocations: 4.375 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.006342, allocations: 4.375 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.006573, allocations: 58.22 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.006582, allocations: 4.906 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.006595, allocations: 4.375 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.0066, allocations: 0.9062 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.00682, allocations: 53.48 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.007288, allocations: 212.5 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.007654, allocations: 59.06 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.007773, allocations: 30.22 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.00794, allocations: 11.98 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.007976, allocations: 35.66 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.007977, allocations: 0 / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004655/0.008443, allocations: 103 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.008492, allocations: 51.41 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.008601, allocations: 107.6 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.008623, allocations: 25.7 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.008693, allocations: 84.14 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.008712, allocations: 7.891 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.008756, allocations: 26.14 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.009016, allocations: 314.8 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.009125, allocations: 24.95 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.009213, allocations: 16.88 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.009422, allocations: 49.66 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009423, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002637/0.009687, allocations: 83.98 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.009702, allocations: 4 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009707, allocations: 0 / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.009725, allocations: 48 / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.009819, allocations: 18.62 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.009825, allocations: 3.938 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.009884, allocations: 7.984 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.009893, allocations: 4 kB / 0.8145 GB, free: 14.14 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 0.0001032/0.009996, allocations: 109.8 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.01003, allocations: 9.562 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.01034, allocations: 81.58 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01034, allocations: 0 / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01034, allocations: 4.5 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01035, allocations: 0.5312 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.01051, allocations: 113.3 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01051, allocations: 1.594 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.0106, allocations: 11.98 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.0106, allocations: 0 / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01061, allocations: 4.594 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01061, allocations: 0 / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01061, allocations: 7.625 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01093, allocations: 175.5 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.01094, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.01096, allocations: 3.938 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.01105, allocations: 7.984 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.01111, allocations: 11.98 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.01111, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.066e-05/0.01118, allocations: 83.28 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01118, allocations: 1.781 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002694/0.01145, allocations: 23.88 kB / 0.8152 GB, free: 13.45 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.0002155/0.01167, allocations: 111.2 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01192, allocations: 48.86 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01193, allocations: 1.125 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01204, allocations: 27.97 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.01234, allocations: 9.078 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.01272, allocations: 132.3 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.01279, allocations: 68.39 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.01282, allocations: 0.7812 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.01286, allocations: 13 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01286, allocations: 1.156 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.004358/0.01722, allocations: 1.01 MB / 0.8166 GB, free: 12 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.752089166082442]