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.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.001012/0.001012, 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.0008394/0.0008394, 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.8668/0.8668, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.738/1.738, allocations: 359 MB / 0.6037 GB, free: 11.09 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.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 1.674e-06/1.674e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.726e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001936/0.001953, allocations: 1.559 MB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003565/0.00231, allocations: 175.5 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.002343, allocations: 3.938 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.002371, allocations: 3.938 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.002409, allocations: 7.922 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.002724, allocations: 51.81 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.002797, allocations: 35.92 kB / 0.9523 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.002896, allocations: 15.94 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.002934, allocations: 19.97 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.002971, allocations: 11.98 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.002987, allocations: 4 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.003091, allocations: 55.92 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.003103, allocations: 7.938 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.00312, allocations: 8 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003258, allocations: 75.75 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003261, allocations: 4 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003262, allocations: 0 / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003267, allocations: 4 kB / 0.9525 GB, free: 1.426 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003578/0.003624, allocations: 286.2 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.003665, allocations: 8.031 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.003697, allocations: 38.69 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.003722, allocations: 4.938 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.003972, allocations: 109.7 kB / 0.9529 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.003993, allocations: 4.375 kB / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.004002, allocations: 384 / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.004157, allocations: 66.83 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.004164, allocations: 192 / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004173, allocations: 4.375 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004179, allocations: 4.125 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.004289, allocations: 43.95 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.00462, allocations: 247.9 kB / 0.9533 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.004838, allocations: 62.47 kB / 0.9533 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.004891, allocations: 24.91 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.005006, allocations: 19.92 kB / 0.9534 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.005022, allocations: 34.55 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.005024, allocations: 0 / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002622/0.005286, allocations: 97.53 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.005316, allocations: 51.41 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.005377, allocations: 113.9 kB / 0.9537 GB, free: 68 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005387, allocations: 25.7 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.005435, allocations: 88.12 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.005447, allocations: 11.95 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.005477, allocations: 17.72 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.005545, allocations: 310.8 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.005595, allocations: 23.97 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.005637, allocations: 19.98 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.005726, allocations: 44.81 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005727, allocations: 3.938 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001161/0.005843, allocations: 81.55 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005856, allocations: 4 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.00586, allocations: 336 / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005871, allocations: 7.984 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.005915, allocations: 4 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.005919, allocations: 4 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.005947, allocations: 11.98 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.005952, allocations: 0 / 0.9543 GB, free: 15.39 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: 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 5.18e-05/0.006003, allocations: 117.8 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.006017, allocations: 3.938 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.006175, allocations: 93.56 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006176, allocations: 0 / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.00618, allocations: 0 / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006182, allocations: 0 / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.006291, allocations: 136.6 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006292, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.006324, allocations: 15.98 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.006326, allocations: 0 / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.006331, allocations: 0 / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.006333, allocations: 8.25 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006334, allocations: 0 / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.006473, allocations: 179.3 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.006481, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.006491, allocations: 4 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.006534, allocations: 7.984 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.006574, allocations: 8 kB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.006576, allocations: 0 / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.006608, allocations: 95.25 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.006608, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001747/0.006783, allocations: 19.94 kB / 0.9549 GB, free: 14.62 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: 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.0004119/0.007195, allocations: 0.7202 MB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.00734, allocations: 55.89 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007342, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.828e-05/0.00739, allocations: 19.98 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.007598, allocations: 7.984 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.00855, allocations: 1.295 MB / 0.957 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.00859, allocations: 67.66 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.008613, allocations: 7.984 kB / 0.9571 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.008644, allocations: 12.5 kB / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.008645, allocations: 0 / 0.9571 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.02293, allocations: 2.616 MB / 0.9596 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.831, allocations: 17.91 kB / 0.9597 GB, free: 9.82 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0044 --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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.76768867019564]