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.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.00169/0.00169, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001412/0.001412, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.89 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8705, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002424/0.8729, allocations: 1.54 MB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004366/0.8734, allocations: 179.5 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.8734, allocations: 0.75 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.8735, allocations: 4.688 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.8735, allocations: 6.062 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.8739, allocations: 51.39 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.874, allocations: 36.98 kB / 1.264 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.8741, allocations: 16.81 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.8741, allocations: 18.19 kB / 1.264 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.8742, allocations: 21.47 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.8742, allocations: 3.719 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.8743, allocations: 49.41 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.8744, allocations: 10.77 kB / 1.264 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.8744, allocations: 17.62 kB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.8746, allocations: 65.12 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8746, allocations: 0.6562 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8746, allocations: 4.875 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.8746, allocations: 0 / 1.265 GB, free: 6.672 MB / 0.9981 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.0004194/0.875, allocations: 355.6 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8751, allocations: 9.406 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.8751, allocations: 3.438 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.8752, allocations: 176.1 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.8752, allocations: 5.875 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.8752, allocations: 2.312 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.8754, allocations: 67.12 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8755, allocations: 4.125 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.8755, allocations: 4.688 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.8755, allocations: 0.8125 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.8757, allocations: 43.64 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.876, allocations: 285.2 kB / 1.265 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.8764, allocations: 61.03 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.8765, allocations: 25.77 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.8767, allocations: 166.4 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.8767, allocations: 35.98 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.8767, allocations: 4 kB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003943/0.8771, allocations: 97.44 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.8771, allocations: 52.89 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.8772, allocations: 110.6 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.8772, allocations: 26.48 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.8773, allocations: 83.11 kB / 1.266 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.8773, allocations: 13.27 kB / 1.266 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.8773, allocations: 19.11 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.8774, allocations: 322.2 kB / 1.266 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.8775, allocations: 19.78 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.8775, allocations: 16.86 kB / 1.266 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.8777, allocations: 49.75 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8777, allocations: 4 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002106/0.878, allocations: 78.78 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.878, allocations: 5.156 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.878, allocations: 0.5156 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.878, allocations: 0.7812 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.8781, allocations: 11.23 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8781, allocations: 0.7812 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.8782, allocations: 6.812 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.8782, allocations: 9.984 kB / 1.267 GB, free: 4.703 MB / 0.9981 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.825e-05/0.8782, allocations: 116 kB / 1.267 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.8783, allocations: 5.609 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.8785, allocations: 85.34 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8785, allocations: 1 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8785, allocations: 0 / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.8785, allocations: 4 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.8787, allocations: 170.2 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8787, allocations: 0 / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.8788, allocations: 11.03 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8788, allocations: 1.469 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.8788, allocations: 1.719 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8788, allocations: 4 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8788, allocations: 4.781 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.879, allocations: 177.6 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.8791, allocations: 87.39 kB / 1.267 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.8791, allocations: 5.25 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.8792, allocations: 6.172 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.8792, allocations: 4.547 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.8792, allocations: 2.312 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.8793, allocations: 87.16 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8793, allocations: 0 / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002425/0.8795, allocations: 18.95 kB / 1.267 GB, free: 3.977 MB / 0.9981 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.0001532/0.8797, allocations: 121.6 kB / 1.267 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.8799, allocations: 46.73 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8799, allocations: 0 / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.8801, allocations: 24.72 kB / 1.268 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.8803, allocations: 17.02 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.8806, allocations: 141.4 kB / 1.268 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.664e-05/0.8807, allocations: 0.6834 MB / 1.268 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.8807, allocations: 11.31 kB / 1.268 GB, free: 3 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.8808, allocations: 0.7812 kB / 1.268 GB, free: 3 MB / 0.9981 GB Notification: Performance of Templates: time 0.002992/0.8837, allocations: 0.9754 MB / 1.269 GB, free: 2.926 MB / 0.9981 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 -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_2/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: 10.879150955937803]