Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001061/0.001061, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005153/0.006214, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00109/0.00109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002877/0.003967, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9626/0.9626, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.072, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.389/2.389, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2378/2.626, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.028e-05, allocations: 4.422 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001195/0.001216, allocations: 0.6463 MB / 0.8196 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002076/0.001423, allocations: 111.6 kB / 0.8197 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.001439, allocations: 0 / 0.8197 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.001456, allocations: 0 / 0.8197 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-07/0.001457, allocations: 0 / 0.8197 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.001645, allocations: 31.83 kB / 0.8198 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.001756, allocations: 67.94 kB / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.001791, allocations: 4 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.001846, allocations: 39.89 kB / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.001886, allocations: 23.95 kB / 0.8199 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.001901, allocations: 4 kB / 0.8199 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.002034, allocations: 59.86 kB / 0.8199 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.002062, allocations: 8 kB / 0.82 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.00208, allocations: 15.92 kB / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.002201, allocations: 67.86 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.002212, allocations: 0 / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002213, allocations: 0 / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.002226, allocations: 4 kB / 0.82 GB, free: 1.348 MB / 0.7917 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.0003943/0.002621, allocations: 288.5 kB / 0.8203 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.00265, allocations: 12.03 kB / 0.8203 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.002693, allocations: 16.92 kB / 0.8203 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.388e-05/0.002757, allocations: 109.7 kB / 0.8204 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005216/0.003279, allocations: 0.526 MB / 0.821 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.003296, allocations: 12.31 kB / 0.821 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.003444, allocations: 82.84 kB / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.003452, allocations: 192 / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.003461, allocations: 384 / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.003471, allocations: 12.11 kB / 0.8211 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.003566, allocations: 83.84 kB / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.003683, allocations: 75.8 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.003766, allocations: 58.42 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.003793, allocations: 20.86 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.003813, allocations: 0 / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.003836, allocations: 38.89 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 7.31e-07/0.003837, allocations: 0 / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001486/0.003986, allocations: 77.59 kB / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.004013, allocations: 59.41 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.142e-05/0.004044, allocations: 89.86 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.004054, allocations: 25.7 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.94e-05/0.004073, allocations: 80.14 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.004116, allocations: 43.62 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.004147, allocations: 33.62 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.004215, allocations: 314.8 kB / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.004236, allocations: 11.98 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.004254, allocations: 15.98 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.00431, allocations: 47.58 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004312, allocations: 4 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.697e-05/0.004379, allocations: 58.33 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.00439, allocations: 4 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004395, allocations: 4 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004406, allocations: 0 / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.004517, allocations: 35.89 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.004521, allocations: 4 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.004546, allocations: 4 kB / 0.8222 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.004555, allocations: 7.938 kB / 0.8222 GB, free: 14.84 MB / 0.8073 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 5.574e-05/0.004611, allocations: 120.7 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.004621, allocations: 8 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.004642, allocations: 7.969 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.004644, allocations: 0 / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.004646, allocations: 0 / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.004648, allocations: 0 / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.262e-05/0.004711, allocations: 89.7 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.004712, allocations: 4 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.004769, allocations: 27.91 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.004778, allocations: 15.92 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.00478, allocations: 0 / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.004786, allocations: 7.984 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.004787, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004788, allocations: 4 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.004877, allocations: 97.08 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.004887, allocations: 4 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.004909, allocations: 4 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.004945, allocations: 11.97 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.00495, allocations: 4 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.793e-06/0.004957, allocations: 4.859 kB / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004957, allocations: 0 / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001214/0.005079, allocations: 27.94 kB / 0.8226 GB, free: 14.36 MB / 0.8073 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.0001388/0.005217, allocations: 112.2 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.897e-05/0.005306, allocations: 44.83 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.00531, allocations: 4 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.005348, allocations: 40.78 kB / 0.8228 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.477e-05/0.005413, allocations: 17.33 kB / 0.8228 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.005624, allocations: 151.2 kB / 0.823 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.857e-05/0.005652, allocations: 63.34 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.005692, allocations: 15.98 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.005739, allocations: 63.38 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of SimCode: time 8.01e-07/0.00574, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.002492/0.008232, allocations: 1.271 MB / 0.8244 GB, free: 12.54 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.33374694827944]