Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001388/0.001388, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001487/0.001487, allocations: 186 kB / 20.78 MB, free: 1.547 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.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002785/0.3254, allocations: 1.55 MB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000476/0.3259, allocations: 185.2 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.3259, allocations: 0 / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.3259, allocations: 0 / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.326, allocations: 3.938 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.3263, allocations: 51.88 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.3264, allocations: 43.86 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.3265, allocations: 15.97 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.3265, allocations: 15.92 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.3265, allocations: 19.92 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3265, allocations: 4 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3267, allocations: 43.95 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3267, allocations: 11.98 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.3267, allocations: 15.94 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3269, allocations: 67.66 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3269, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3269, allocations: 4 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3269, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 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.0005389/0.3274, allocations: 363.3 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3274, allocations: 12.03 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3275, allocations: 0.9375 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3276, allocations: 168.4 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3277, allocations: 384 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3277, allocations: 4.375 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3279, allocations: 66.22 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3279, allocations: 192 / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3279, allocations: 7.875 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3279, allocations: 0 / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3281, allocations: 47.95 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.3285, allocations: 284.7 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3288, allocations: 62.48 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.3289, allocations: 28.89 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.3292, allocations: 162.2 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3292, allocations: 34.56 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3292, allocations: 3.938 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003839/0.3296, allocations: 101.6 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3296, allocations: 51.41 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.3297, allocations: 109.8 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3297, allocations: 33.7 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.3298, allocations: 84.08 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.3298, allocations: 3.953 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.3298, allocations: 25.7 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.33, allocations: 322.8 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.3301, allocations: 11.98 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.3301, allocations: 23.97 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3303, allocations: 44.81 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3303, allocations: 4 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002115/0.3305, allocations: 81.92 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3305, allocations: 8 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3305, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3306, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.3306, allocations: 15.92 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3306, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.3307, allocations: 7.984 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3307, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 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 8.208e-05/0.3308, allocations: 117.8 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.3308, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.3311, allocations: 85.55 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3311, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3311, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3311, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3313, allocations: 169.6 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3313, allocations: 4 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.3313, allocations: 15.92 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3313, allocations: 0 / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.3313, allocations: 4 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3313, allocations: 4 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3313, allocations: 3.984 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3316, allocations: 179.3 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3317, allocations: 81.05 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3317, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3318, allocations: 7.984 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.3318, allocations: 11.98 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3318, allocations: 0 / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.3319, allocations: 87.28 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002365/0.3321, allocations: 12 kB / 1.221 GB, free: 10 MB / 0.9669 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.0001779/0.3323, allocations: 127.2 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3325, allocations: 47.88 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3325, allocations: 7.938 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.3326, allocations: 19.98 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3329, allocations: 7.938 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3332, allocations: 137.4 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3335, allocations: 0.6768 MB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.3335, allocations: 4 kB / 1.222 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.3335, allocations: 11.44 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.3335, allocations: 0 / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of Templates: time 0.003492/0.337, allocations: 0.9931 MB / 1.223 GB, free: 7.918 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.884559974074364]