Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001834/0.001834, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001321/0.001321, allocations: 160.7 kB / 23.01 MB, free: 4.594 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 179] 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 2.741/2.741, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.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.002103/0.002103, allocations: 63.89 kB / 0.982 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7439, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001463/0.7453, allocations: 0.5856 MB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.7456, allocations: 113.2 kB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.7457, allocations: 0 / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.7457, allocations: 0 / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.7457, allocations: 0 / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.746, allocations: 43.73 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.7461, allocations: 57.08 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.7461, allocations: 6.141 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.7462, allocations: 29.08 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.7462, allocations: 18.61 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.7462, allocations: 2.625 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.7463, allocations: 49.31 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.7464, allocations: 23.55 kB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.7464, allocations: 21.09 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.7465, allocations: 83.91 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7465, allocations: 0 / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7465, allocations: 0 / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7465, allocations: 0 / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000369/0.7469, allocations: 300.2 kB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.7469, allocations: 11.12 kB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.7469, allocations: 7.609 kB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.734e-05/0.747, allocations: 113.5 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.7472, allocations: 0.5323 MB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.7472, allocations: 7.25 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.7474, allocations: 79.67 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.7474, allocations: 3.938 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.7474, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7474, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.7477, allocations: 129.3 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.7478, allocations: 126 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.7481, allocations: 87.84 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.7482, allocations: 38.27 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.7482, allocations: 10.5 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.7482, allocations: 36.7 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.7482, allocations: 0 / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0004509/0.7487, allocations: 147.5 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.7487, allocations: 62.31 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.557e-05/0.7487, allocations: 89.86 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.7487, allocations: 33.08 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-06/0.7487, allocations: 84.08 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.7488, allocations: 37.44 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7488, allocations: 29.19 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.169e-05/0.7488, allocations: 318.1 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.749, allocations: 39.06 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.7491, allocations: 32.23 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.7493, allocations: 73.02 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7493, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002839/0.7496, allocations: 108.6 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.7496, allocations: 5.5 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7496, allocations: 11.34 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7496, allocations: 3.938 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.7498, allocations: 26.59 kB / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.7498, allocations: 4 kB / 1.157 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.7498, allocations: 12.5 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.7498, allocations: 2.531 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.764e-05/0.7499, allocations: 115.9 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.7499, allocations: 2.781 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.7499, allocations: 15.91 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7499, allocations: 2.969 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7499, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7499, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.705e-05/0.75, allocations: 125.5 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.75, allocations: 4 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.7501, allocations: 31.31 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7501, allocations: 2.938 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.7501, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7501, allocations: 3.938 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7501, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.7504, allocations: 144.4 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.7504, allocations: 6.797 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.7504, allocations: 0 / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.7505, allocations: 6.781 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.7505, allocations: 20.61 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.7505, allocations: 6.438 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.819e-06/0.7506, allocations: 79.22 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.7506, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002125/0.7508, allocations: 21.34 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001279/0.7509, allocations: 117.2 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.7512, allocations: 87.05 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7512, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.7513, allocations: 55.27 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.7515, allocations: 7.938 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.7518, allocations: 165.4 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.7518, allocations: 72.17 kB / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.7519, allocations: 38.73 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.7519, allocations: 17.78 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.7519, allocations: 0 / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of Templates: time 0.003064/0.755, allocations: 0.9907 MB / 1.16 GB, free: 29.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.172046365099959]