Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00153/0.00153, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001871/0.001871, allocations: 217.2 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.324/3.324, allocations: 0.49 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003367/0.003367, allocations: 62.16 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4532, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002227/0.4554, allocations: 0.5847 MB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004707/0.4559, allocations: 120 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.4559, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.456, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.456, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.4564, allocations: 31.91 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.4566, allocations: 67.92 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.4566, allocations: 4 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.4567, allocations: 19.98 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.4567, allocations: 23.95 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.4567, allocations: 7.938 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.4569, allocations: 55.95 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.457, allocations: 27.95 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.457, allocations: 19.92 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.4572, allocations: 76 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4572, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4573, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4573, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 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.0006178/0.4579, allocations: 294.3 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4579, allocations: 8.031 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.458, allocations: 38.75 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.458, allocations: 12.89 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4581, allocations: 118.4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005003/0.4586, allocations: 0.5299 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4587, allocations: 4.375 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.459, allocations: 89.88 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.459, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.459, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.459, allocations: 3.984 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.4594, allocations: 127.8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.4597, allocations: 144.7 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.46, allocations: 94.45 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.4602, allocations: 44.83 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.4602, allocations: 4 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4603, allocations: 34.5 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.4603, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006177/0.4609, allocations: 157.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.4609, allocations: 51.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.461, allocations: 89.86 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.461, allocations: 25.7 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.461, allocations: 84.14 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.4611, allocations: 35.69 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.4612, allocations: 33.7 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4613, allocations: 314.8 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4615, allocations: 31.98 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.4616, allocations: 31.97 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4619, allocations: 72.81 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4619, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003548/0.4622, allocations: 118.2 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4623, allocations: 11.88 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4623, allocations: 0 / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4623, allocations: 4 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.4625, allocations: 27.97 kB / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4625, allocations: 0 / 1.329 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.4626, allocations: 11.89 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4626, allocations: 11.98 kB / 1.329 GB, free: 13.51 MB / 1.029 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 0.0001043/0.4627, allocations: 114.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.4627, allocations: 7.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.4628, allocations: 7.906 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4628, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4628, allocations: 3.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4628, allocations: 7.984 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.463, allocations: 152.7 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.463, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.4631, allocations: 19.98 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4631, allocations: 7.938 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4631, allocations: 7.984 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4631, allocations: 3.984 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4631, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.4636, allocations: 149 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.4636, allocations: 11.83 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4636, allocations: 7.938 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.4636, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.4637, allocations: 19.97 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4637, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.4638, allocations: 75.28 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4638, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002519/0.464, allocations: 24 kB / 1.33 GB, free: 12.81 MB / 1.029 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.0008963/0.4649, allocations: 0.6904 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.4653, allocations: 87.81 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4653, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.4655, allocations: 47.91 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.4656, allocations: 9.703 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.4663, allocations: 198.5 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.4664, allocations: 67.34 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.4666, allocations: 35.95 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.4666, allocations: 23.42 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4666, allocations: 3.938 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4989, allocations: 2.567 MB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.57, allocations: 10.25 kB / 1.334 GB, free: 9.125 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.682693402981386]