Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001395/0.001395, allocations: 78.95 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001452/0.001452, allocations: 158.8 kB / 23.01 MB, free: 4.945 MB / 14.72 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.846/2.846, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.8068, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002305/0.8091, allocations: 1.565 MB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000444/0.8096, allocations: 170.7 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.8096, allocations: 1.094 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.8096, allocations: 4.5 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.8097, allocations: 5.594 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.81, allocations: 52.39 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.8101, allocations: 43.5 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.8101, allocations: 10.28 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.8102, allocations: 12.31 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.8102, allocations: 24.42 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.8102, allocations: 4.188 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.8104, allocations: 48.69 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.8104, allocations: 11.12 kB / 1.189 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.8104, allocations: 17.09 kB / 1.189 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.8105, allocations: 64.61 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.8106, allocations: 0.5625 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8106, allocations: 4.969 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8106, allocations: 0 / 1.189 GB, free: 14.91 MB / 1.076 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.0003906/0.8109, allocations: 280.7 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.811, allocations: 9.812 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.811, allocations: 3.203 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.396e-05/0.8111, allocations: 114.2 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.8111, allocations: 2 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8111, allocations: 8.531 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8113, allocations: 61.56 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.8113, allocations: 4.188 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8113, allocations: 3.938 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8113, allocations: 1.094 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.8115, allocations: 48.69 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.8118, allocations: 208.2 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.8121, allocations: 64.52 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.8123, allocations: 33.55 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.8124, allocations: 12.59 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.8124, allocations: 32.39 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8124, allocations: 0 / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0003909/0.8128, allocations: 97.31 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.8128, allocations: 52.53 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.206e-05/0.8129, allocations: 103.6 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.8129, allocations: 26.27 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.8129, allocations: 95.69 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.8129, allocations: 5.828 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.813, allocations: 23.47 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.813, allocations: 317.4 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.8131, allocations: 20.8 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.8132, allocations: 19.98 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.8134, allocations: 46.95 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8134, allocations: 7.938 kB / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002161/0.8136, allocations: 77.2 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8136, allocations: 6.406 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8136, allocations: 0.5625 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.8136, allocations: 1.156 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.8137, allocations: 15.05 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8137, allocations: 4.547 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.8138, allocations: 15.45 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8138, allocations: 5.281 kB / 1.19 GB, free: 13.36 MB / 1.076 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.68e-05/0.8138, allocations: 116.8 kB / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.8139, allocations: 1.75 kB / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.8141, allocations: 79.67 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.8141, allocations: 1.844 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8141, allocations: 0 / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8141, allocations: 0 / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.8142, allocations: 117.4 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8142, allocations: 4 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.8143, allocations: 11.36 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8143, allocations: 0.6094 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.8143, allocations: 1.094 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8143, allocations: 4.641 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8143, allocations: 1.062 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.8146, allocations: 174.5 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.8146, allocations: 5.766 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.8146, allocations: 1.5 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.8147, allocations: 9.688 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.8147, allocations: 10.78 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8147, allocations: 1.938 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.8148, allocations: 84.19 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8148, allocations: 0 / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002572/0.815, allocations: 15.23 kB / 1.191 GB, free: 12.81 MB / 1.076 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.0001363/0.8152, allocations: 114.7 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.8154, allocations: 52.89 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8154, allocations: 0.75 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.8155, allocations: 25.8 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.8158, allocations: 6.125 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.816, allocations: 120.4 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.8161, allocations: 64.42 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.8161, allocations: 6.094 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.8161, allocations: 13.25 kB / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8161, allocations: 0 / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of Templates: time 0.003624/0.8198, allocations: 0.9796 MB / 1.192 GB, free: 12.38 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.570044005056843]