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.001126/0.001126, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001377/0.001377, allocations: 161 kB / 24.16 MB, free: 336 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 1.015/1.015, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.383e-06/1.383e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.684e-05, allocations: 5.969 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001907/0.001924, allocations: 1.607 MB / 0.7616 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.002372, allocations: 197.5 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.002414, allocations: 4 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002445, allocations: 3.938 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.002503, allocations: 2.609 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.002884, allocations: 52.94 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.002952, allocations: 34.11 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.605e-05/0.003028, allocations: 15.98 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.003064, allocations: 18.22 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.003101, allocations: 16.97 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.003115, allocations: 4.531 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.003216, allocations: 48.88 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.003228, allocations: 9.406 kB / 0.762 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.003246, allocations: 13.62 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.00337, allocations: 75.73 kB / 0.7621 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003372, allocations: 1.781 kB / 0.7621 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003373, allocations: 0 / 0.7621 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003376, allocations: 0 / 0.7621 GB, free: 4.594 MB / 0.7136 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.0002986/0.003674, allocations: 249.4 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.003704, allocations: 12.8 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.003727, allocations: 2.156 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.176e-05/0.003808, allocations: 105.8 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.003825, allocations: 4.375 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.003835, allocations: 2 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.003941, allocations: 70.86 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003948, allocations: 0.8438 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.003955, allocations: 4.359 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003959, allocations: 4.938 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.003983, allocations: 8.688 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.004202, allocations: 168.2 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.00433, allocations: 39.59 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.004345, allocations: 9.516 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.004466, allocations: 33.12 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.004482, allocations: 30.56 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.004484, allocations: 0.625 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001028/0.004586, allocations: 46.72 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.004613, allocations: 55.34 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.004661, allocations: 107.6 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.004701, allocations: 26.58 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.004733, allocations: 96.67 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.004747, allocations: 7.953 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.004771, allocations: 18.95 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.004839, allocations: 314.8 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.00485, allocations: 4 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.004859, allocations: 5.016 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.004883, allocations: 13.95 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004885, allocations: 1.094 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.667e-05/0.004932, allocations: 45.62 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.004943, allocations: 7.984 kB / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.004948, allocations: 6.688 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.00496, allocations: 0 / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.944e-05/0.004999, allocations: 8 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005002, allocations: 0 / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.00502, allocations: 8 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.005026, allocations: 4.234 kB / 0.7635 GB, free: 2.961 MB / 0.7136 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 4.87e-05/0.005075, allocations: 109.4 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.005087, allocations: 4 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.005154, allocations: 57.3 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.005155, allocations: 0 / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005156, allocations: 0 / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005159, allocations: 384 / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.005237, allocations: 73.83 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005238, allocations: 0.5312 kB / 0.7637 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.005261, allocations: 13.11 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005263, allocations: 0.6562 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.005267, allocations: 0 / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005268, allocations: 0.75 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.005269, allocations: 3.938 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.005408, allocations: 137.9 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.005415, allocations: 7.984 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-06/0.005422, allocations: 3.828 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.005451, allocations: 4 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.005483, allocations: 11.92 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005486, allocations: 0 / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.083e-05/0.005497, allocations: 11.3 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005497, allocations: 0 / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001445/0.005641, allocations: 27.88 kB / 0.764 GB, free: 2.465 MB / 0.7136 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.0001198/0.005761, allocations: 100.4 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.792e-05/0.005819, allocations: 12.86 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.005821, allocations: 1.875 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.00584, allocations: 16.84 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.005955, allocations: 8 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.006155, allocations: 121.5 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.006184, allocations: 59.34 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.006204, allocations: 4.938 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.006243, allocations: 53.59 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.006243, allocations: 0 / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of Templates: time 0.002435/0.008678, allocations: 1.048 MB / 0.7653 GB, free: 1.039 MB / 0.7136 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.9050504779443145]