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.001353/0.001353, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001508/0.001508, allocations: 210.5 kB / 23 MB, free: 4.934 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.687/1.687, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002022/0.002022, allocations: 65.16 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4362, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003406/0.4396, allocations: 1.561 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005879/0.4402, allocations: 175.5 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.4402, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.4403, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.285e-05/0.4403, allocations: 7.938 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.4407, allocations: 55.81 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.4408, allocations: 39.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4409, allocations: 11.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.441, allocations: 12 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.441, allocations: 23.91 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.4411, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.4412, allocations: 51.94 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.4412, allocations: 15.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.4412, allocations: 11.94 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.4414, allocations: 67.78 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4414, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4414, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4414, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 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.0005427/0.442, allocations: 282.2 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.442, allocations: 8.031 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.4421, allocations: 12.83 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4422, allocations: 114.5 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4422, allocations: 384 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4422, allocations: 384 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.4425, allocations: 70.22 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4425, allocations: 4.125 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4425, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4425, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.4427, allocations: 43.95 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.4432, allocations: 216.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.4436, allocations: 62.42 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.4437, allocations: 32.89 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.4439, allocations: 15.98 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.444, allocations: 34.56 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.444, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004698/0.4444, allocations: 93.61 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.4445, allocations: 51.41 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4446, allocations: 109.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4446, allocations: 29.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.4447, allocations: 88.03 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4447, allocations: 7.953 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.4448, allocations: 17.72 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.445, allocations: 314.8 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.4451, allocations: 19.98 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.4452, allocations: 19.97 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.4453, allocations: 48.83 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4453, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000258/0.4456, allocations: 85.52 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4456, allocations: 7.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4456, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4456, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.4457, allocations: 15.92 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.4458, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.4458, allocations: 8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4458, allocations: 7.984 kB / 1.331 GB, free: 12.97 MB / 1.029 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.0001143/0.4459, allocations: 110.3 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.446, allocations: 7.953 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.4463, allocations: 81.33 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4463, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4463, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.4463, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4464, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.4464, allocations: 11.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.4465, allocations: 15.92 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003119/0.4468, allocations: 156.9 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003343/0.4472, allocations: 238.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001075/0.4473, allocations: 28.44 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.4473, allocations: 95.45 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.4473, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.4479, allocations: 116.2 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007446/0.4487, allocations: 0.5688 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Templates: time 0.004955/0.4536, allocations: 1.145 MB / 1.333 GB, free: 10.3 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.642128369996499]