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.001406/0.001406, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002503/0.002503, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.777 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.539/3.539, allocations: 0.4892 GB / 0.7944 GB, free: 35.63 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.002824/0.002824, allocations: 66.14 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4186, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002073/0.4207, allocations: 0.5943 MB / 1.326 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000499/0.4212, allocations: 108 kB / 1.326 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.4212, allocations: 0 / 1.326 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.4213, allocations: 4 kB / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.4213, allocations: 0 / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.4217, allocations: 35.91 kB / 1.326 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.4219, allocations: 67.92 kB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.484e-05/0.4219, allocations: 4 kB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.422, allocations: 23.92 kB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.422, allocations: 23.95 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.4221, allocations: 7.938 kB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.4222, allocations: 55.94 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.4223, allocations: 19.97 kB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.4223, allocations: 15.92 kB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.4225, allocations: 76.05 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4225, allocations: 4 kB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.123e-06/0.4225, allocations: 0 / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4225, allocations: 0 / 1.326 GB, free: 1.32 MB / 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.0005804/0.4231, allocations: 306.2 kB / 1.326 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4231, allocations: 8.031 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.4232, allocations: 38.75 kB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.4232, allocations: 4.938 kB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4234, allocations: 118.4 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/0.4238, allocations: 0.526 MB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.4238, allocations: 4.375 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4241, allocations: 89.94 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4241, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4241, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4241, allocations: 4 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.4245, allocations: 123.8 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.4247, allocations: 144.7 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.425, allocations: 90.52 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4251, allocations: 41.16 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4252, allocations: 7.922 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4252, allocations: 38.5 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4252, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005469/0.4257, allocations: 149.8 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.4258, allocations: 55.41 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.4259, allocations: 89.86 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4259, allocations: 25.7 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.4259, allocations: 80.14 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.426, allocations: 35.69 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.4261, allocations: 33.7 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4262, allocations: 310.8 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4264, allocations: 39.91 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4265, allocations: 40.02 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.4268, allocations: 72.81 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4268, allocations: 0 / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003228/0.4271, allocations: 121.5 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4271, allocations: 13.12 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4271, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.4271, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.4273, allocations: 27.97 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4273, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.4274, allocations: 7.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.4274, allocations: 12 kB / 1.329 GB, free: 14.38 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.000123/0.4275, allocations: 114.4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.4275, allocations: 3.938 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.4276, allocations: 15.84 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.4276, allocations: 8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4276, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4276, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.4278, allocations: 152.7 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4278, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4279, allocations: 19.98 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4279, allocations: 7.938 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4279, allocations: 11.98 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4279, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4279, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.4283, allocations: 137 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.4283, allocations: 19.83 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4283, allocations: 3.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.207e-05/0.4284, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.4285, allocations: 15.97 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.4285, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.4285, allocations: 79.28 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4285, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002366/0.4288, allocations: 20 kB / 1.329 GB, free: 13.7 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.0008728/0.4296, allocations: 0.6981 MB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.4299, allocations: 76.48 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.43, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.4301, allocations: 48.06 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.4303, allocations: 8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.4308, allocations: 202.4 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.4309, allocations: 67.34 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.4311, allocations: 39.95 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.4312, allocations: 23.42 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4312, allocations: 7.938 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.4616, allocations: 2.523 MB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.57, allocations: 4.141 kB / 1.333 GB, free: 10.05 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: 19.048021394293755]