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.00133/0.00133, allocations: 110 kB / 18.93 MB, free: 2.945 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.001382/0.001382, allocations: 191.8 kB / 22.23 MB, free: 5.152 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.433/1.433, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.00189/0.00189, allocations: 63.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8507, allocations: 160.8 MB / 1.218 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003662/0.8544, allocations: 1.559 MB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005651/0.8549, allocations: 182.2 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.855, allocations: 1.281 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.855, allocations: 7.938 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.8551, allocations: 9.078 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.8554, allocations: 47.48 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.8555, allocations: 38.5 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8556, allocations: 11.77 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.8556, allocations: 13.66 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.8557, allocations: 17.98 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.8557, allocations: 2.719 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.8559, allocations: 56.59 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.8559, allocations: 9.297 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.8559, allocations: 19.56 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.8561, allocations: 70.58 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8561, allocations: 0 / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8561, allocations: 3.938 kB / 1.22 GB, free: 2.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.8561, allocations: 0 / 1.22 GB, free: 2.082 MB / 0.92 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.0005784/0.8567, allocations: 357.4 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8567, allocations: 9.656 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.8567, allocations: 3.688 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.8569, allocations: 169.7 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.8569, allocations: 9.531 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.8569, allocations: 2.875 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.8571, allocations: 63.94 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8572, allocations: 192 / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8572, allocations: 9.312 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.8572, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.8574, allocations: 47.73 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.8578, allocations: 279.3 kB / 1.221 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.8581, allocations: 58.16 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.8582, allocations: 23 kB / 1.221 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.8585, allocations: 173.6 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.8585, allocations: 39.5 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.8585, allocations: 0 / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004201/0.8589, allocations: 94.84 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.859, allocations: 56.45 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.8591, allocations: 107.4 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.8591, allocations: 25.7 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.8592, allocations: 90.75 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.8592, allocations: 11.88 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.8592, allocations: 17.75 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8594, allocations: 319.8 kB / 1.222 GB, free: 96 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.8595, allocations: 18.73 kB / 1.222 GB, free: 88 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.8596, allocations: 27.62 kB / 1.222 GB, free: 72 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.8598, allocations: 46.86 kB / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8598, allocations: 0 / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002366/0.86, allocations: 76.25 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.86, allocations: 5.156 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.86, allocations: 5.062 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.86, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.8601, allocations: 12.23 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.8601, allocations: 4 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.8602, allocations: 8.188 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.8602, allocations: 1.062 kB / 1.223 GB, free: 15.97 MB / 0.9356 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 9.575e-05/0.8603, allocations: 123.8 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.8603, allocations: 5.875 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.8606, allocations: 84.64 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.8606, allocations: 4 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8606, allocations: 1.062 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8606, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.8608, allocations: 164.9 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8608, allocations: 1.125 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.8609, allocations: 15.11 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8609, allocations: 1.062 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.8609, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8609, allocations: 1.219 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8609, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.8612, allocations: 187.4 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.8612, allocations: 79.42 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.8613, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.8613, allocations: 7.859 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.8614, allocations: 10.84 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.8614, allocations: 5.297 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.8615, allocations: 89.5 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8615, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002424/0.8617, allocations: 13.41 kB / 1.223 GB, free: 15.2 MB / 0.9356 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.0001963/0.8619, allocations: 116.7 kB / 1.223 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.8621, allocations: 52.36 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8621, allocations: 0.7812 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.8622, allocations: 30.81 kB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.8625, allocations: 6.5 kB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.8629, allocations: 123.3 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.8632, allocations: 0.6783 MB / 1.224 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.8633, allocations: 3.25 kB / 1.224 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.8633, allocations: 18.88 kB / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8633, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.004024/0.8673, allocations: 1.003 MB / 1.225 GB, free: 13.7 MB / 0.9356 GB " [Timeout remaining time 299] 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: 8.572934582829475]