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.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.0008023/0.0008023, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009327/0.0009327, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9153/0.9153, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.823e-06/1.823e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.776e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002232/0.00226, allocations: 1.566 MB / 0.9533 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.002657, allocations: 167.5 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.002692, allocations: 0 / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.00272, allocations: 3.938 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.002761, allocations: 7.938 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.003111, allocations: 51.81 kB / 0.9535 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.003184, allocations: 47.83 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.003276, allocations: 11.94 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.003314, allocations: 19.98 kB / 0.9535 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.00335, allocations: 11.92 kB / 0.9536 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.003366, allocations: 7.984 kB / 0.9536 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.003476, allocations: 55.88 kB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.003488, allocations: 7.984 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.003507, allocations: 8 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.003655, allocations: 79.77 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003658, allocations: 0 / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.906e-06/0.003661, allocations: 4 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003665, allocations: 0 / 0.9537 GB, free: 0.9609 MB / 0.9011 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.0003587/0.004024, allocations: 282.2 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.004057, allocations: 8.031 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.004087, allocations: 4.938 kB / 0.954 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.004165, allocations: 109.7 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.004188, allocations: 8.312 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.004197, allocations: 384 / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.004344, allocations: 74.81 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004351, allocations: 192 / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.00436, allocations: 384 / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.004365, allocations: 384 / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.004472, allocations: 47.89 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.004773, allocations: 216.5 kB / 0.9544 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.004979, allocations: 58.53 kB / 0.9545 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.005028, allocations: 32.89 kB / 0.9545 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.005159, allocations: 11.98 kB / 0.9545 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.005195, allocations: 42.5 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.005196, allocations: 0 / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002405/0.005437, allocations: 93.56 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.005603, allocations: 55.41 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.005657, allocations: 109.8 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005668, allocations: 25.7 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.005707, allocations: 88.14 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.005722, allocations: 7.891 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.00575, allocations: 17.72 kB / 0.955 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.005823, allocations: 318.8 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.005871, allocations: 15.98 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.005911, allocations: 23.97 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.006, allocations: 48.83 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006002, allocations: 0 / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/0.00612, allocations: 85.47 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.006133, allocations: 6.5 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006138, allocations: 7.875 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006149, allocations: 0 / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.006197, allocations: 11.98 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.006201, allocations: 0 / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.006229, allocations: 12 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.006233, allocations: 0 / 0.9555 GB, free: 15 MB / 0.9167 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 5.782e-05/0.006291, allocations: 113.8 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.006304, allocations: 3.938 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.00647, allocations: 89.27 kB / 0.9557 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006472, allocations: 0 / 0.9557 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.006476, allocations: 0 / 0.9557 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.006479, allocations: 0 / 0.9557 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.268e-05/0.006571, allocations: 113.3 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006573, allocations: 0 / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.006608, allocations: 11.98 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006611, allocations: 0 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006618, allocations: 3.938 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006619, allocations: 4 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.00662, allocations: 256 / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.006759, allocations: 171.8 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-06/0.006763, allocations: 0 / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.006777, allocations: 15.98 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.006814, allocations: 7.984 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.006857, allocations: 7.984 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.00686, allocations: 3.938 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.006889, allocations: 87.27 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006889, allocations: 4 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001799/0.007069, allocations: 15.94 kB / 0.9561 GB, free: 14.29 MB / 0.9167 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.0001524/0.007222, allocations: 115.3 kB / 0.9562 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.007363, allocations: 51.89 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007364, allocations: 0 / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.007412, allocations: 27.97 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.007625, allocations: 0 / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.007896, allocations: 158.4 kB / 0.9564 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.00794, allocations: 63.34 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.007967, allocations: 8.5 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.007967, allocations: 4 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of Templates: time 0.001834/0.009802, allocations: 0.9779 MB / 0.9574 GB, free: 12.83 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.484010792337358]