Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009178/0.0009178, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001437/0.001437, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9116/0.9116, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.465e-05, allocations: 5.234 kB / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001457/0.001471, allocations: 0.5916 MB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.001838, allocations: 95.69 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.001857, allocations: 4 kB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.001888, allocations: 0 / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.001895, allocations: 0 / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.002298, allocations: 47.81 kB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.002427, allocations: 63.92 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.002468, allocations: 3.938 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.002525, allocations: 31.95 kB / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.002571, allocations: 19.97 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.002591, allocations: 4 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.002727, allocations: 59.86 kB / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.002764, allocations: 19.97 kB / 0.9515 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.00279, allocations: 11.98 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.002955, allocations: 87.8 kB / 0.9516 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002957, allocations: 0 / 0.9516 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002958, allocations: 0 / 0.9516 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.002962, allocations: 3.938 kB / 0.9516 GB, free: 2.402 MB / 0.9011 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.0004477/0.00341, allocations: 302.2 kB / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.003452, allocations: 8.031 kB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.0035, allocations: 46.73 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.003536, allocations: 4.938 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.003608, allocations: 109.7 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.003933, allocations: 0.5299 MB / 0.9525 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.00395, allocations: 8.375 kB / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.004167, allocations: 82.08 kB / 0.9526 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.004176, allocations: 192 / 0.9526 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.004188, allocations: 4.359 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.004198, allocations: 11.92 kB / 0.9526 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.004478, allocations: 123.8 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.004845, allocations: 148.6 kB / 0.9529 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.00508, allocations: 94.45 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.005191, allocations: 40.83 kB / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.005215, allocations: 4 kB / 0.953 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.005241, allocations: 38.56 kB / 0.9531 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.005242, allocations: 0 / 0.9531 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0004464/0.005689, allocations: 149.8 kB / 0.9532 GB, free: 468 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.005724, allocations: 55.41 kB / 0.9533 GB, free: 400 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.299e-05/0.005757, allocations: 89.86 kB / 0.9533 GB, free: 300 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.005772, allocations: 25.7 kB / 0.9534 GB, free: 268 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.005794, allocations: 80.14 kB / 0.9534 GB, free: 184 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.005843, allocations: 43.67 kB / 0.9535 GB, free: 140 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.005892, allocations: 29.7 kB / 0.9535 GB, free: 104 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.005994, allocations: 318.8 kB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.006115, allocations: 31.97 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.006214, allocations: 39.97 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.006427, allocations: 72.75 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006429, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002708/0.0067, allocations: 118.2 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.006715, allocations: 4 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00672, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.006733, allocations: 3.938 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.006855, allocations: 23.98 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.00686, allocations: 4 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.006906, allocations: 11.98 kB / 0.9541 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.006918, allocations: 0 / 0.9541 GB, free: 15.47 MB / 0.9167 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 8.079e-05/0.006998, allocations: 125.8 kB / 0.9542 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.007012, allocations: 3.953 kB / 0.9542 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.007044, allocations: 7.969 kB / 0.9542 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.007049, allocations: 15.81 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007053, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007056, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.007175, allocations: 152.7 kB / 0.9544 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007176, allocations: 0 / 0.9544 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.007271, allocations: 23.97 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.007273, allocations: 0 / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.007284, allocations: 4 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.007287, allocations: 7.922 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007288, allocations: 0 / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.007566, allocations: 137.1 kB / 0.9546 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.007575, allocations: 11.94 kB / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.007589, allocations: 0 / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.007632, allocations: 11.92 kB / 0.9546 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.007683, allocations: 19.92 kB / 0.9546 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.007696, allocations: 7.984 kB / 0.9546 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.00772, allocations: 75.28 kB / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.007721, allocations: 0 / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002499/0.00797, allocations: 23.94 kB / 0.9547 GB, free: 14.78 MB / 0.9167 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.0005745/0.008545, allocations: 0.6905 MB / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.008812, allocations: 87.81 kB / 0.9555 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008814, allocations: 0 / 0.9555 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.008931, allocations: 51.91 kB / 0.9555 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.009079, allocations: 7.938 kB / 0.9555 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.009545, allocations: 194.4 kB / 0.9557 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.009597, allocations: 75.23 kB / 0.9558 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.009718, allocations: 39.95 kB / 0.9558 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.009769, allocations: 20.48 kB / 0.9558 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.009769, allocations: 0 / 0.9558 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.0238, allocations: 2.667 MB / 0.9585 GB, free: 11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.776, allocations: 14.39 kB / 0.9585 GB, free: 10.99 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 10.771619708277285]