Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 192.1 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7978, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003073/0.8008, allocations: 1.555 MB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005615/0.8014, allocations: 175.5 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.8015, allocations: 3.938 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.8015, allocations: 3.938 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.8015, allocations: 7.922 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.8019, allocations: 47.89 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.802, allocations: 39.91 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.8021, allocations: 15.98 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.8021, allocations: 11.94 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.8022, allocations: 23.91 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.8022, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.8023, allocations: 47.95 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.8024, allocations: 11.98 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.8024, allocations: 19.88 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.8026, allocations: 66.45 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8026, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8026, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8026, allocations: 4 kB / 1.276 GB, free: 2.496 MB / 0.9669 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.0006316/0.8032, allocations: 359.3 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.8033, allocations: 15.97 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.8033, allocations: 0.9375 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.8035, allocations: 172.3 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.8035, allocations: 384 / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.8035, allocations: 4.375 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.8037, allocations: 70.19 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8038, allocations: 8.125 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.8038, allocations: 7.938 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8038, allocations: 3.938 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.804, allocations: 39.95 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.8044, allocations: 276.8 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.8048, allocations: 62.53 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.8049, allocations: 24.89 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.8051, allocations: 166.2 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.8052, allocations: 38.5 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8052, allocations: 0 / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004201/0.8056, allocations: 101.6 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.8056, allocations: 51.41 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.8057, allocations: 109.8 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8057, allocations: 25.7 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.8058, allocations: 84.14 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.8058, allocations: 7.953 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.8059, allocations: 13.72 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.806, allocations: 326.8 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.8061, allocations: 15.98 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.8062, allocations: 28.14 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.8064, allocations: 44.77 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8064, allocations: 0 / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002357/0.8066, allocations: 85.59 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8066, allocations: 5.719 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8066, allocations: 4 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8067, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/0.8067, allocations: 11.98 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8067, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.8068, allocations: 7.938 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.8068, allocations: 3.984 kB / 1.278 GB, free: 104 kB / 0.9669 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.0001164/0.8069, allocations: 121.8 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.807, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.8072, allocations: 85.48 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8072, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8072, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8072, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.8075, allocations: 181.5 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8075, allocations: 0 / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.8076, allocations: 15.98 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8076, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8076, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.8076, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8076, allocations: 3.938 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.8079, allocations: 179.4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.8079, allocations: 81.11 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.8079, allocations: 4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.808, allocations: 7.984 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.8081, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.8081, allocations: 3.984 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.8081, allocations: 87.28 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8081, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002541/0.8084, allocations: 12 kB / 1.279 GB, free: 15.22 MB / 0.9825 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.0002087/0.8086, allocations: 123.7 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.8089, allocations: 47.89 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8089, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.809, allocations: 28.3 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.8093, allocations: 7.938 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.8096, allocations: 133.4 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.81, allocations: 0.6806 MB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.81, allocations: 4.094 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.81, allocations: 15.44 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.81, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.004888/0.8149, allocations: 0.9861 MB / 1.281 GB, free: 13.14 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.87597412802279]