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.002265/0.002265, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002847/0.002847, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.633/1.633, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.012/3.012, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.654e-06/1.654e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.481e-05, allocations: 3.062 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002892/0.002917, allocations: 1.56 MB / 0.8123 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.003399, allocations: 183.6 kB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.003434, allocations: 0.7812 kB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.003458, allocations: 3.938 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.003506, allocations: 1.688 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.00383, allocations: 59.75 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.003906, allocations: 35.86 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.00399, allocations: 11.98 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.004042, allocations: 25.5 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.004086, allocations: 11.98 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004101, allocations: 0 / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.004247, allocations: 59.88 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.004265, allocations: 13.67 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.00429, allocations: 11.98 kB / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004468, allocations: 71.77 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.004473, allocations: 4 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004474, allocations: 0 / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.004477, allocations: 1 kB / 0.8128 GB, free: 52 kB / 0.7605 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.000529/0.005006, allocations: 376.2 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.005038, allocations: 8.562 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.005081, allocations: 7.469 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.005312, allocations: 120.5 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.005331, allocations: 384 / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.005345, allocations: 4.375 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.005519, allocations: 54.23 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005527, allocations: 4.188 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.005536, allocations: 384 / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.00554, allocations: 0.9062 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.005691, allocations: 40.62 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.006115, allocations: 276.2 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.006423, allocations: 56.66 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.006504, allocations: 27.67 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.006657, allocations: 15.98 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.006694, allocations: 41.95 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.006695, allocations: 0 / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003245/0.007019, allocations: 82.94 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.007063, allocations: 51.41 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.007207, allocations: 170.9 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.007227, allocations: 25.7 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.007316, allocations: 134.9 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.007335, allocations: 13.27 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.007384, allocations: 23.38 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.00764, allocations: 496.1 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.007708, allocations: 16.8 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.007766, allocations: 12.17 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.007891, allocations: 44.62 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.007893, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001788/0.008071, allocations: 74.78 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.008085, allocations: 8 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.008089, allocations: 0.8438 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.008101, allocations: 0 / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.008177, allocations: 10.2 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.008181, allocations: 256 / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.00822, allocations: 4 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.008229, allocations: 4 kB / 0.8149 GB, free: 13.7 MB / 0.7761 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.0001158/0.008344, allocations: 160.6 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.008375, allocations: 7.938 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.008592, allocations: 76.31 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008594, allocations: 0 / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.008596, allocations: 0 / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.008598, allocations: 0 / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.008763, allocations: 128.6 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008764, allocations: 0 / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.008831, allocations: 11.98 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008832, allocations: 1.344 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.008842, allocations: 3.938 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008844, allocations: 4 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.008847, allocations: 4.609 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.009126, allocations: 216.4 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.009132, allocations: 0 / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.009151, allocations: 8.688 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.00922, allocations: 3.984 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.009272, allocations: 9.188 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.009276, allocations: 0 / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.009357, allocations: 127.2 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009357, allocations: 1.094 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000245/0.009602, allocations: 23.94 kB / 0.8157 GB, free: 12.86 MB / 0.7761 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.0001815/0.009783, allocations: 114.8 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.009984, allocations: 44.38 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009985, allocations: 3.969 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.01008, allocations: 31.84 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.0103, allocations: 4 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.01063, allocations: 142.1 kB / 0.816 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.0107, allocations: 67.33 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.01073, allocations: 0 / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.01076, allocations: 17.7 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.01076, allocations: 0 / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.004075/0.01484, allocations: 1.006 MB / 0.8171 GB, free: 11.41 MB / 0.7761 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.017443449003622]