Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001022/0.001022, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001066/0.001066, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 18.57 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.9606/0.9606, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.537/2.537, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.145e-05/4.357e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.006688/0.006731, allocations: 1.6 MB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005542/0.007285, allocations: 175.4 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.007344, allocations: 0 / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.007379, allocations: 7.875 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.007444, allocations: 0 / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.007899, allocations: 55.8 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.007994, allocations: 39.91 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.008125, allocations: 19.98 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.008184, allocations: 19.92 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.008238, allocations: 19.91 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.008262, allocations: 4 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.00844, allocations: 47.94 kB / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.00846, allocations: 7.938 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.008485, allocations: 11.98 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.008688, allocations: 71.78 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.008693, allocations: 0 / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.585e-06/0.008695, allocations: 0 / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.008701, allocations: 0 / 0.8918 GB, free: 7.668 MB / 0.8542 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.003532/0.01223, allocations: 384.5 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.01229, allocations: 8.625 kB / 0.8921 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.01234, allocations: 4.938 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.01246, allocations: 120.5 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.01248, allocations: 384 / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.0125, allocations: 8.375 kB / 0.8923 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.01268, allocations: 62.92 kB / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01269, allocations: 192 / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.0127, allocations: 384 / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.01271, allocations: 384 / 0.8923 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.01275, allocations: 19.94 kB / 0.8924 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.01312, allocations: 256.3 kB / 0.8926 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.01331, allocations: 39.05 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.01333, allocations: 11.75 kB / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.01347, allocations: 23.97 kB / 0.8927 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.0135, allocations: 41.38 kB / 0.8927 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.0135, allocations: 3.938 kB / 0.8927 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001681/0.01367, allocations: 49.56 kB / 0.8928 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.0137, allocations: 55.41 kB / 0.8928 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.0138, allocations: 173.9 kB / 0.893 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.01382, allocations: 25.7 kB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.01388, allocations: 130.8 kB / 0.8931 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.0139, allocations: 3.953 kB / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.01395, allocations: 31.36 kB / 0.8932 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.01411, allocations: 496.1 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.01413, allocations: 0 / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.01414, allocations: 4 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.01419, allocations: 19.67 kB / 0.8937 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01419, allocations: 4 kB / 0.8937 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.781e-05/0.01429, allocations: 53.58 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01431, allocations: 7.938 kB / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01431, allocations: 0 / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01433, allocations: 0 / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.01439, allocations: 8 kB / 0.8937 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.0144, allocations: 0 / 0.8937 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.01443, allocations: 7.984 kB / 0.8937 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.01443, allocations: 0 / 0.8937 GB, free: 5.453 MB / 0.8542 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.979e-05/0.01452, allocations: 152.6 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01454, allocations: 8 kB / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.0177, allocations: 61.23 kB / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.0177, allocations: 0 / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.0177, allocations: 256 / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01771, allocations: 0 / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.01787, allocations: 105.2 kB / 0.894 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01787, allocations: 0 / 0.894 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.01792, allocations: 11.98 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.01793, allocations: 3.938 kB / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.01793, allocations: 0 / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01794, allocations: 4 kB / 0.8941 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.01794, allocations: 7.938 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.0181, allocations: 195.8 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.01811, allocations: 4.406 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.01812, allocations: 4 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.01817, allocations: 0 / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.01822, allocations: 15.92 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.01823, allocations: 0 / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.01828, allocations: 123.2 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01828, allocations: 0 / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002552/0.01854, allocations: 15.94 kB / 0.8944 GB, free: 4.688 MB / 0.8542 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.0002261/0.01876, allocations: 127.2 kB / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.163e-05/0.01885, allocations: 19.67 kB / 0.8946 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01886, allocations: 0 / 0.8946 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.0189, allocations: 23.61 kB / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01915, allocations: 4 kB / 0.8946 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.01947, allocations: 130.1 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.01952, allocations: 59.34 kB / 0.8948 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.01955, allocations: 4 kB / 0.8948 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.01961, allocations: 74.2 kB / 0.8948 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.01961, allocations: 0 / 0.8948 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of Templates: time 0.006467/0.02608, allocations: 1.119 MB / 0.8959 GB, free: 3.078 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.787106387782842]