Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008018/0.0008018, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009069/0.0009069, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8728/0.8728, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.717e-05, allocations: 4.953 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002254/0.002281, allocations: 1.562 MB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.00266, allocations: 179.3 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.002695, allocations: 0 / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.002722, allocations: 3.938 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.00276, allocations: 0 / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.003093, allocations: 59.73 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.003162, allocations: 43.84 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.003257, allocations: 8 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.003295, allocations: 23.98 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.003334, allocations: 15.91 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.003349, allocations: 4 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.003451, allocations: 51.94 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.003462, allocations: 7.984 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.00348, allocations: 8 kB / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003621, allocations: 75.77 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.003624, allocations: 4 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.345e-06/0.003626, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.003631, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 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.000561/0.004192, allocations: 282.2 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.004237, allocations: 8.031 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.004274, allocations: 34.75 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.004299, allocations: 4.938 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.004404, allocations: 125.6 kB / 0.9834 GB, free: 16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.004425, allocations: 4.312 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004435, allocations: 4.375 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.004589, allocations: 62.22 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004595, allocations: 192 / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.004605, allocations: 8.375 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.004611, allocations: 4.125 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.004715, allocations: 39.95 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.005038, allocations: 239.9 kB / 0.9837 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.005261, allocations: 62.47 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.005314, allocations: 28.84 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.005431, allocations: 15.98 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.005447, allocations: 34.55 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.005448, allocations: 0 / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002387/0.005687, allocations: 97.53 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.005714, allocations: 55.41 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.005773, allocations: 105.8 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.005783, allocations: 25.7 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.005822, allocations: 92.12 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.005834, allocations: 7.953 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.005862, allocations: 17.72 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.005935, allocations: 310.8 kB / 0.9845 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.00599, allocations: 23.97 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.257e-05/0.006032, allocations: 19.98 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.00612, allocations: 44.81 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006121, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001156/0.006237, allocations: 89.48 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.00625, allocations: 8 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006254, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006265, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.006308, allocations: 11.98 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.006312, allocations: 320 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.006339, allocations: 7.984 kB / 0.9847 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.006344, allocations: 3.938 kB / 0.9847 GB, free: 14.47 MB / 0.948 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.779e-05/0.006402, allocations: 113.8 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.006415, allocations: 3.938 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.006719, allocations: 89.91 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.006724, allocations: 4.031 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.006729, allocations: 3.984 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006732, allocations: 0 / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.006876, allocations: 148.6 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.006878, allocations: 0 / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.00694, allocations: 15.98 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.006943, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.006951, allocations: 4 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.006953, allocations: 0 / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.006955, allocations: 3.984 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.00712, allocations: 175.4 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.007132, allocations: 0 / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.007143, allocations: 4 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.007223, allocations: 4 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.007268, allocations: 15.92 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.007273, allocations: 7.938 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.007306, allocations: 83.27 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007306, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001936/0.007499, allocations: 23.95 kB / 0.9854 GB, free: 13.71 MB / 0.948 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.0004164/0.007916, allocations: 0.7162 MB / 0.9861 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.008059, allocations: 55.89 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008061, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.00811, allocations: 19.98 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.008341, allocations: 11.92 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.009293, allocations: 1.296 MB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.009339, allocations: 67.34 kB / 0.9875 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.009366, allocations: 7.984 kB / 0.9875 GB, free: 11.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.009402, allocations: 12.5 kB / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.009403, allocations: 4 kB / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02555, allocations: 2.616 MB / 0.9901 GB, free: 8.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/6.958, allocations: 7.062 kB / 0.9901 GB, free: 8.906 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.917886867187917]