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.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.001633/0.001633, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001937/0.001937, allocations: 192.3 kB / 22.11 MB, free: 4.223 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.495/1.495, allocations: 225.6 MB / 250.8 MB, free: 2.883 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.975/2.975, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 1.137 GB, free: 12.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9926/0.9947, allocations: 173.6 MB / 1.307 GB, free: 33.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002401/0.9971, allocations: 1.544 MB / 1.308 GB, free: 32.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.9975, allocations: 185.6 kB / 1.308 GB, free: 32.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.9975, allocations: 4 kB / 1.308 GB, free: 32.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.9976, allocations: 3.938 kB / 1.308 GB, free: 32.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.9976, allocations: 6.812 kB / 1.308 GB, free: 32.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.9979, allocations: 57.03 kB / 1.309 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.998, allocations: 33.3 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.9981, allocations: 14.38 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.813e-05/0.9981, allocations: 13.75 kB / 1.309 GB, free: 32.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.9981, allocations: 20.8 kB / 1.309 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.9982, allocations: 2.719 kB / 1.309 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.9983, allocations: 54.86 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.9983, allocations: 10.61 kB / 1.309 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.9983, allocations: 17.98 kB / 1.309 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.9985, allocations: 67.52 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9985, allocations: 0 / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9985, allocations: 0 / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.9985, allocations: 0 / 1.309 GB, free: 32.39 MB / 1.061 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.0003838/0.9988, allocations: 281.6 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.9989, allocations: 8.406 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.9989, allocations: 3.344 kB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.793e-05/0.999, allocations: 117.3 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.999, allocations: 8.375 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.999, allocations: 2.906 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9992, allocations: 65.66 kB / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9992, allocations: 192 / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.9992, allocations: 6.656 kB / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9992, allocations: 0 / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.9994, allocations: 41.64 kB / 1.309 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.9997, allocations: 256.2 kB / 1.309 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/1, allocations: 62.81 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/1, allocations: 26.94 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/1, allocations: 19.16 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/1, allocations: 34.56 kB / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/1, allocations: 0 / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004235/1.001, allocations: 95.25 kB / 1.31 GB, free: 31.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/1.001, allocations: 58.22 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/1.001, allocations: 106 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/1.001, allocations: 25.7 kB / 1.31 GB, free: 31.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/1.001, allocations: 94.45 kB / 1.31 GB, free: 31.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/1.001, allocations: 7.891 kB / 1.31 GB, free: 31.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/1.001, allocations: 21 kB / 1.31 GB, free: 31.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/1.001, allocations: 321.4 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/1.001, allocations: 19.77 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/1.001, allocations: 22.27 kB / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/1.001, allocations: 54.41 kB / 1.31 GB, free: 30.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.001, allocations: 0 / 1.31 GB, free: 30.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002067/1.001, allocations: 77.7 kB / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.001, allocations: 6.25 kB / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/1.001, allocations: 0 / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.001, allocations: 0 / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/1.002, allocations: 19.33 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.002, allocations: 4 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/1.002, allocations: 2.844 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/1.002, allocations: 6.375 kB / 1.311 GB, free: 30.8 MB / 1.061 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 4.837e-05/1.002, allocations: 113.7 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/1.002, allocations: 2.938 kB / 1.311 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/1.002, allocations: 83.83 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.002, allocations: 7.031 kB / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.002, allocations: 0 / 1.311 GB, free: 30.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.002, allocations: 3.938 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/1.002, allocations: 143.9 kB / 1.311 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.002, allocations: 0 / 1.311 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/1.002, allocations: 12.94 kB / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.002, allocations: 6.078 kB / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.002, allocations: 0 / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.002, allocations: 0 / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.002, allocations: 0 / 1.311 GB, free: 30.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/1.002, allocations: 174.2 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/1.002, allocations: 0 / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.002, allocations: 2.938 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/1.003, allocations: 5.859 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/1.003, allocations: 10.2 kB / 1.311 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/1.003, allocations: 3.938 kB / 1.311 GB, free: 30.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.743e-05/1.003, allocations: 99.78 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.003, allocations: 0 / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002638/1.003, allocations: 15.5 kB / 1.311 GB, free: 30.2 MB / 1.061 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.0001477/1.003, allocations: 116.5 kB / 1.311 GB, free: 30.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000233/1.003, allocations: 42.84 kB / 1.311 GB, free: 30.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.003, allocations: 0 / 1.311 GB, free: 30.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/1.003, allocations: 28.34 kB / 1.311 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/1.004, allocations: 11.14 kB / 1.311 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/1.004, allocations: 136.1 kB / 1.311 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.978e-05/1.004, allocations: 0.6784 MB / 1.312 GB, free: 29.26 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.143e-05/1.004, allocations: 2.953 kB / 1.312 GB, free: 29.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/1.004, allocations: 20.03 kB / 1.312 GB, free: 29.25 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.004, allocations: 0 / 1.312 GB, free: 29.25 MB / 1.061 GB Notification: Performance of Templates: time 0.003537/1.008, allocations: 0.9875 MB / 1.313 GB, free: 29.14 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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.392693320289254]