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.001383/0.001383, allocations: 113 kB / 16.46 MB, free: 6.453 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.001516/0.001516, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.157/3.157, allocations: 0.4899 GB / 0.7915 GB, free: 33.42 MB / 0.6231 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.002118/0.002118, allocations: 70.81 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3551, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001783/0.3569, allocations: 0.5896 MB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.3573, allocations: 108 kB / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.3573, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.3574, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-06/0.3574, allocations: 0 / 1.322 GB, free: 2.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.3577, allocations: 39.83 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3579, allocations: 71.92 kB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.3579, allocations: 0 / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.358, allocations: 27.97 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.358, allocations: 19.97 kB / 1.322 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.358, allocations: 4 kB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3582, allocations: 47.95 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.3582, allocations: 23.91 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.3582, allocations: 23.91 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3584, allocations: 71.78 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3584, allocations: 3.984 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3584, allocations: 0 / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3584, allocations: 4 kB / 1.322 GB, free: 1.773 MB / 1.014 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.0005738/0.359, allocations: 375.4 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.359, allocations: 11.98 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.359, allocations: 4.938 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3592, allocations: 172.3 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.3594, allocations: 277.6 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3595, allocations: 8.359 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.3597, allocations: 90.06 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3597, allocations: 7.938 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3597, allocations: 0 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3598, allocations: 0 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.3601, allocations: 135.8 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.3603, allocations: 173.6 kB / 1.323 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3606, allocations: 90.52 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3608, allocations: 48.7 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3608, allocations: 7.984 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3609, allocations: 34.56 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.3609, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0005865/0.3614, allocations: 149.9 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3615, allocations: 55.41 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.3615, allocations: 89.86 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3615, allocations: 25.7 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3616, allocations: 80.14 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.3616, allocations: 39.69 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3617, allocations: 29.7 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3618, allocations: 314.8 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.362, allocations: 31.97 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3621, allocations: 35.91 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3624, allocations: 81.41 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3624, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003502/0.3627, allocations: 113.5 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3628, allocations: 15.94 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3628, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3628, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3629, allocations: 23.92 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3629, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.363, allocations: 11.92 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.363, allocations: 7.938 kB / 1.325 GB, free: 14.99 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: 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 8.917e-05/0.3631, allocations: 117.8 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.3631, allocations: 15.89 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.3632, allocations: 11.97 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3632, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3632, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3632, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3633, allocations: 177.6 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3633, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3635, allocations: 27.97 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3635, allocations: 3.938 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3635, allocations: 7.938 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3635, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3635, allocations: 4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.3639, allocations: 141 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.3639, allocations: 85 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3639, allocations: 7.938 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.364, allocations: 7.984 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.364, allocations: 7.984 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.364, allocations: 11.94 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.3641, allocations: 79.28 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3641, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000218/0.3643, allocations: 19.98 kB / 1.325 GB, free: 14.18 MB / 1.029 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.0002117/0.3645, allocations: 123.2 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.3649, allocations: 79.94 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3649, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.365, allocations: 51.84 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.3652, allocations: 16.48 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.3656, allocations: 164.7 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.366, allocations: 0.6807 MB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.3661, allocations: 39.95 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.3662, allocations: 15.42 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3662, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Templates: time 0.003826/0.37, allocations: 1.035 MB / 1.328 GB, free: 11.92 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.624173868913203]