Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001933/0.001933, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002194/0.002194, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.942/2.942, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.127e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002067/0.002098, allocations: 0.8029 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.00224, allocations: 44.84 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.002296, allocations: 4.562 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.002334, allocations: 7.875 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.002432, allocations: 12.77 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.757e-05/0.002489, allocations: 15.98 kB / 0.7873 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.002637, allocations: 72.42 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.00278, allocations: 31.86 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.002898, allocations: 40.95 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.002948, allocations: 19.91 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.002972, allocations: 9.625 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.002983, allocations: 4 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.003007, allocations: 15.94 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.003048, allocations: 23.91 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.003187, allocations: 68.92 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.003192, allocations: 4 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003192, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.003202, allocations: 3.984 kB / 0.7875 GB, free: 11.63 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00057/0.003772, allocations: 404.7 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.003807, allocations: 9.625 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.003861, allocations: 16.84 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.004086, allocations: 140.4 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004101, allocations: 4.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.004116, allocations: 11.91 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.004299, allocations: 103.9 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.004308, allocations: 192 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.004321, allocations: 4.375 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004326, allocations: 4.375 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.004642, allocations: 35.92 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.005283, allocations: 474.4 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.005374, allocations: 58.12 kB / 0.7887 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.005431, allocations: 28.22 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.005443, allocations: 1.656 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.005478, allocations: 37.42 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005479, allocations: 0 / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001916/0.00567, allocations: 58.48 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.005731, allocations: 77.11 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.005905, allocations: 197.5 kB / 0.7891 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.005926, allocations: 29.7 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.006041, allocations: 158.7 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.00605, allocations: 9.234 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.006096, allocations: 23.38 kB / 0.7893 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.006369, allocations: 0.4923 MB / 0.7898 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.006387, allocations: 4 kB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.006426, allocations: 24.16 kB / 0.7898 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.006483, allocations: 36.47 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006485, allocations: 0 / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.144e-05/0.006576, allocations: 54.59 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.00659, allocations: 5.688 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006594, allocations: 0 / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.00661, allocations: 4 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.006673, allocations: 7.938 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.006681, allocations: 3.938 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.006714, allocations: 12.52 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.006718, allocations: 0 / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001212/0.006839, allocations: 165.2 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.006878, allocations: 4.625 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.006901, allocations: 8.531 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.006907, allocations: 4 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.00691, allocations: 4 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.006915, allocations: 4.469 kB / 0.7901 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.007478, allocations: 0.559 MB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007479, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.007501, allocations: 4 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007503, allocations: 1.125 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.007514, allocations: 3.938 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007515, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007516, allocations: 0.5 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.007649, allocations: 92.94 kB / 0.7908 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.007676, allocations: 11.95 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.007692, allocations: 4.75 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.007713, allocations: 3.984 kB / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.007735, allocations: 0.9375 kB / 0.7908 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.007743, allocations: 4 kB / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001162/0.007859, allocations: 143.2 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007859, allocations: 1.219 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001892/0.008048, allocations: 15.89 kB / 0.791 GB, free: 7.801 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001791/0.008227, allocations: 96.19 kB / 0.7911 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.00835, allocations: 33.81 kB / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.008355, allocations: 4 kB / 0.7911 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.008376, allocations: 11.69 kB / 0.7911 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.008549, allocations: 4 kB / 0.7911 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.009003, allocations: 184.3 kB / 0.7913 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.897e-05/0.009102, allocations: 79.31 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.009147, allocations: 4 kB / 0.7914 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.009178, allocations: 8.5 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of SimCode: time 4.8e-07/0.009179, allocations: 5.438 kB / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.003247/0.01243, allocations: 351.1 kB / 0.7917 GB, free: 6.984 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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: 8.069466463988647]