Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00141/0.00141, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001408/0.001408, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 71.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7994/0.8012, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002111/0.8033, allocations: 1.572 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003852/0.8037, allocations: 173.3 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.8037, allocations: 0.8438 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.8037, allocations: 4.547 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.8038, allocations: 6.125 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.804, allocations: 50.02 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.8041, allocations: 38.03 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.8042, allocations: 9.266 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.8042, allocations: 24.31 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.8043, allocations: 17.86 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.8043, allocations: 3.312 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.8044, allocations: 46.08 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.8044, allocations: 11.22 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.8044, allocations: 25.62 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.8046, allocations: 63.38 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.8046, allocations: 0 / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8046, allocations: 0.7812 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8046, allocations: 0 / 1.273 GB, free: 6.387 MB / 0.9981 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.0003602/0.8049, allocations: 366.2 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.805, allocations: 8.906 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.805, allocations: 34.02 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.805, allocations: 3.281 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.8051, allocations: 171.5 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8051, allocations: 5.531 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.8051, allocations: 2.438 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.8053, allocations: 63.25 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8053, allocations: 7.938 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8053, allocations: 1.094 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8053, allocations: 0.6562 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.8055, allocations: 47.11 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.8058, allocations: 282.2 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.806, allocations: 62.72 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.8061, allocations: 26.66 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.8063, allocations: 166 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.006e-05/0.8063, allocations: 35.53 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.8063, allocations: 0 / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003441/0.8066, allocations: 96.55 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.8067, allocations: 53.16 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.8067, allocations: 108.6 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.8067, allocations: 25.7 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.8067, allocations: 85.95 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.8068, allocations: 9.922 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.8068, allocations: 19.11 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.321e-05/0.8068, allocations: 320.8 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.8069, allocations: 20.48 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.807, allocations: 25.8 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.8071, allocations: 45.94 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8071, allocations: 0 / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002/0.8073, allocations: 81.59 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.8073, allocations: 5.938 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.8074, allocations: 0 / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8074, allocations: 2.219 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.8074, allocations: 10.19 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.8074, allocations: 320 / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.8075, allocations: 8.484 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.8075, allocations: 2.281 kB / 1.275 GB, free: 4.383 MB / 0.9981 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 4.126e-05/0.8075, allocations: 127.4 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.8076, allocations: 1.844 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.8078, allocations: 88.19 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8078, allocations: 0.7812 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.8078, allocations: 0 / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8078, allocations: 1.031 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.8079, allocations: 169.6 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.8079, allocations: 0 / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.129e-05/0.808, allocations: 16.81 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.808, allocations: 0 / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.808, allocations: 1.094 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.808, allocations: 0 / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.808, allocations: 5.578 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.8082, allocations: 176.5 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.8082, allocations: 84.42 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.8082, allocations: 0.8125 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.8083, allocations: 6.797 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.8083, allocations: 12.73 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.8084, allocations: 1.812 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.8084, allocations: 87.69 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8084, allocations: 1 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000227/0.8086, allocations: 20.8 kB / 1.276 GB, free: 3.645 MB / 0.9981 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.0003951/0.809, allocations: 0.7288 MB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.8092, allocations: 41.53 kB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8092, allocations: 0.6562 kB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.8093, allocations: 29.73 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.8095, allocations: 12.98 kB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.8107, allocations: 1.298 MB / 1.278 GB, free: 17.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.811, allocations: 0.6797 MB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.811, allocations: 6.781 kB / 1.279 GB, free: 17.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.811, allocations: 22.66 kB / 1.279 GB, free: 17.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.811, allocations: 0 / 1.279 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.8328, allocations: 1.918 MB / 1.281 GB, free: 16.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.802, allocations: 2.312 kB / 1.281 GB, free: 16.63 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bin.y Variables in the result:bin.k,bin.n,bin.y,k.duration,k.height,k.offset,k.startTime,k.y,n.k,n.y,rea2Int.u,rea2Int.y,time [Calling sys.exit(0), Time elapsed: 13.089024246999543]