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.001232/0.001232, allocations: 107.2 kB / 16.45 MB, free: 6.504 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.001233/0.001233, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9362/0.9381, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.004865/0.943, allocations: 1.54 MB / 1.214 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007145/0.9437, allocations: 193.8 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.9438, allocations: 1.062 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.9438, allocations: 0 / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.9439, allocations: 3.938 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.9444, allocations: 51.84 kB / 1.215 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.9445, allocations: 29.95 kB / 1.215 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.9446, allocations: 16.2 kB / 1.215 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.9447, allocations: 14.19 kB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.9447, allocations: 29.45 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.9447, allocations: 3.188 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.9449, allocations: 42.88 kB / 1.215 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.9449, allocations: 13.05 kB / 1.215 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.945, allocations: 20.33 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.9452, allocations: 67.2 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.9452, allocations: 0.8125 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9452, allocations: 0 / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9453, allocations: 0 / 1.215 GB, free: 2.285 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.0007203/0.946, allocations: 363.1 kB / 1.215 GB, free: 1.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.946, allocations: 10.59 kB / 1.215 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.9461, allocations: 35.88 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.9461, allocations: 3.094 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.9463, allocations: 162.8 kB / 1.215 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.9464, allocations: 1.719 kB / 1.215 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.9464, allocations: 5.594 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.9467, allocations: 72.38 kB / 1.216 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.9467, allocations: 3.938 kB / 1.216 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.9467, allocations: 4 kB / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9467, allocations: 0.9688 kB / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.947, allocations: 44.11 kB / 1.216 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.9475, allocations: 278.7 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.948, allocations: 61.64 kB / 1.216 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.9481, allocations: 27.98 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/0.9485, allocations: 165 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.9485, allocations: 35.62 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.9485, allocations: 1.125 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005503/0.9491, allocations: 102.1 kB / 1.216 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.9491, allocations: 56.47 kB / 1.216 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.9493, allocations: 115.4 kB / 1.216 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.9493, allocations: 25.7 kB / 1.216 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.9494, allocations: 82.7 kB / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.9494, allocations: 12.98 kB / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.9494, allocations: 17.2 kB / 1.216 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9496, allocations: 319.9 kB / 1.217 GB, free: 256 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.9497, allocations: 18.39 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.9499, allocations: 23.09 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.9501, allocations: 47.16 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9501, allocations: 0 / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003555/0.9505, allocations: 81.23 kB / 1.217 GB, free: 148 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9505, allocations: 9.312 kB / 1.217 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9505, allocations: 0 / 1.217 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9505, allocations: 0 / 1.217 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.9506, allocations: 12.36 kB / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9506, allocations: 0 / 1.217 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.9507, allocations: 8.203 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.9507, allocations: 1.25 kB / 1.217 GB, free: 136 kB / 0.92 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 0.0001101/0.9508, allocations: 113.5 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.9509, allocations: 10.38 kB / 1.217 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.9513, allocations: 83.84 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.9513, allocations: 3.938 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9513, allocations: 1.062 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.9513, allocations: 0 / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.9516, allocations: 173.8 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9516, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.9517, allocations: 11.61 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9517, allocations: 4 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.9517, allocations: 5.125 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9517, allocations: 0 / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9517, allocations: 5.328 kB / 1.217 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.9521, allocations: 171.6 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.9522, allocations: 78.2 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.9522, allocations: 4 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.9523, allocations: 12.33 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.9524, allocations: 6.172 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9524, allocations: 6.188 kB / 1.218 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.9525, allocations: 85.41 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9525, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004842/0.953, allocations: 17.69 kB / 1.218 GB, free: 15.36 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.001082/0.954, allocations: 0.7293 MB / 1.218 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.9544, allocations: 44.8 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9544, allocations: 0 / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.9546, allocations: 35 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.9551, allocations: 5 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.9578, allocations: 1.293 MB / 1.22 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.9583, allocations: 0.6794 MB / 1.22 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.9583, allocations: 7.531 kB / 1.22 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.9584, allocations: 14.19 kB / 1.22 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/0.9584, allocations: 1.25 kB / 1.22 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06658/1.025, allocations: 1.938 MB / 1.222 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/9.548, allocations: 6.75 kB / 1.222 GB, free: 11.59 MB / 0.9356 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.564131393097341]